Skip to content

Commit

Permalink
Remove static bound from DecInt (bytecodealliance#1223)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Saveau <[email protected]>
  • Loading branch information
SUPERCILEX and Alex Saveau authored Nov 22, 2024
1 parent 61f17d6 commit ef39477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/path/dec_int.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const _: () = assert!(u64::MAX_STR_LEN == i64::MAX_STR_LEN);
impl DecInt {
/// Construct a new path component from an integer.
#[inline]
pub fn new<Int: Integer + 'static>(i: Int) -> Self {
pub fn new<Int: Integer>(i: Int) -> Self {
let mut buf = [MaybeUninit::uninit(); 21];

let mut str_buf = Buffer::new();
Expand Down

0 comments on commit ef39477

Please sign in to comment.