Skip to content

Commit e9e1502

Browse files
committed
Fix elided-lifetimes-in-paths warnings
1 parent ad148b0 commit e9e1502

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modint.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,12 +413,12 @@ trait InternalImplementations: ModIntBase {
413413
}
414414

415415
#[inline]
416-
fn display_impl(this: &Self, f: &mut fmt::Formatter) -> fmt::Result {
416+
fn display_impl(this: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
417417
fmt::Display::fmt(&this.val(), f)
418418
}
419419

420420
#[inline]
421-
fn debug_impl(this: &Self, f: &mut fmt::Formatter) -> fmt::Result {
421+
fn debug_impl(this: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
422422
fmt::Debug::fmt(&this.val(), f)
423423
}
424424

0 commit comments

Comments
 (0)