Skip to content

Commit a7cab88

Browse files
authored
Merge pull request #3 from cowlicks/version-bump
chore: Release compact-encoding version 2.0.0
2 parents dc99341 + 72bf9bf commit a7cab88

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "compact-encoding"
3-
version = "1.1.0"
3+
version = "2.0.0"
44
license = "MIT OR Apache-2.0"
55
description = "A series of compact encoding schemes for building small and fast parsers and serializers"
66
documentation = "https://docs.rs/compact-encoding"

src/fixedwidth.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ pub trait FixedWidthEncoding {
5757
Self: Sized;
5858

5959
/// Get a uint in a form that encodes to a fixed width
60-
fn as_fixed_width(&self) -> FixedWidthUint<Self> {
60+
fn as_fixed_width(&self) -> FixedWidthUint<'_, Self> {
6161
FixedWidthUint(self)
6262
}
6363
}

0 commit comments

Comments
 (0)