We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dc99341 + 72bf9bf commit a7cab88Copy full SHA for a7cab88
Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "compact-encoding"
3
-version = "1.1.0"
+version = "2.0.0"
4
license = "MIT OR Apache-2.0"
5
description = "A series of compact encoding schemes for building small and fast parsers and serializers"
6
documentation = "https://docs.rs/compact-encoding"
src/fixedwidth.rs
@@ -57,7 +57,7 @@ pub trait FixedWidthEncoding {
57
Self: Sized;
58
59
/// Get a uint in a form that encodes to a fixed width
60
- fn as_fixed_width(&self) -> FixedWidthUint<Self> {
+ fn as_fixed_width(&self) -> FixedWidthUint<'_, Self> {
61
FixedWidthUint(self)
62
}
63
0 commit comments