Skip to content

Commit ef39477

Browse files
SUPERCILEXAlex Saveau
andauthored
Remove static bound from DecInt (#1223)
Co-authored-by: Alex Saveau <saveau.alexandre+tmp@gmail.com>
1 parent 61f17d6 commit ef39477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/path/dec_int.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const _: () = assert!(u64::MAX_STR_LEN == i64::MAX_STR_LEN);
4545
impl DecInt {
4646
/// Construct a new path component from an integer.
4747
#[inline]
48-
pub fn new<Int: Integer + 'static>(i: Int) -> Self {
48+
pub fn new<Int: Integer>(i: Int) -> Self {
4949
let mut buf = [MaybeUninit::uninit(); 21];
5050

5151
let mut str_buf = Buffer::new();

0 commit comments

Comments
 (0)