Skip to content

Commit 72bf9bf

Browse files
committed
fix confusing ellided lifetime err
1 parent 5b41929 commit 72bf9bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)