From d73c084bb7a47d6caa5a14dee9c69ddfd30adf1a Mon Sep 17 00:00:00 2001 From: Berkus Decker Date: Sun, 10 Mar 2019 10:05:20 +0200 Subject: [PATCH] [tmp] ignore RTT read() arguments for now --- src/jlink_rtt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jlink_rtt.rs b/src/jlink_rtt.rs index 46a15b9..fd0057c 100644 --- a/src/jlink_rtt.rs +++ b/src/jlink_rtt.rs @@ -131,7 +131,7 @@ impl Buffer { } // Fill in buf - fn read(&mut self, buf: &mut [u8], blocking: bool) -> bool { + fn read(&mut self, _buf: &mut [u8], _blocking: bool) -> bool { true } }