Prepare first release

This commit is contained in:
Nicolas Stalder
2021-11-20 23:05:02 +01:00
parent 9010bb0d8c
commit 825eba57df
+1 -1
View File
@@ -77,7 +77,7 @@ pub trait Encodable {
fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8]> {
let mut encoder = Encoder::new(buf);
self.encode(&mut encoder)?;
Ok(encoder.finish()?)
encoder.finish()
}
/// Encode this message as BER-TLV, appending it to the provided