From 712d6d9d6569602533bb209945dd00153142f8ed Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Thu, 22 Sep 2022 17:53:28 +0200 Subject: [PATCH] core/io: fix example in intcode --- nihav-core/src/io/intcode.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nihav-core/src/io/intcode.rs b/nihav-core/src/io/intcode.rs index f5d1282..f05d64f 100644 --- a/nihav-core/src/io/intcode.rs +++ b/nihav-core/src/io/intcode.rs @@ -205,7 +205,7 @@ impl<'a> IntCodeReader for BitReader<'a> { /// use nihav_core::io::intcode::{IntCodeWriter,IntCodeType}; /// /// let mut bw = BitWriter::new(Vec::new(), BitWriterMode::BE); -/// bw.write_code_signed(IntCodeType::Gamma, 42)?; +/// bw.write_code_signed(IntCodeType::Gamma, 42); /// ```` pub trait IntCodeWriter { /// Writes an unsigned integer code of requested type. -- 2.39.5