From c47278050d7de3aa05c459325522ea99edcd4e11 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 10 Sep 2020 09:29:37 +0200 Subject: Fix warning about missing keyword Signed-off-by: Matthias Beyer --- librepology/src/v1/stdinapi.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librepology/src/v1/stdinapi.rs b/librepology/src/v1/stdinapi.rs index 8ee26a4..61bc093 100644 --- a/librepology/src/v1/stdinapi.rs +++ b/librepology/src/v1/stdinapi.rs @@ -55,7 +55,7 @@ impl Api for StdinWrapper { } -fn read_to_string(input: &mut Read) -> Result { +fn read_to_string(input: &mut dyn Read) -> Result { let mut buffer = String::new(); let read = input.read_to_string(&mut buffer)?; trace!("Read {} bytes from stdin", read); -- cgit v1.2.3