Skip to content

Commit f78f734

Browse files
committed
Fix elided-lifetimes-in-paths warnings
1 parent 7f950ae commit f78f734

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
@@ -758,12 +758,12 @@ trait InternalImplementations: ModIntBase {
758758
}
759759

760760
#[inline]
761-
fn display_impl(this: &Self, f: &mut fmt::Formatter) -> fmt::Result {
761+
fn display_impl(this: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
762762
fmt::Display::fmt(&this.val(), f)
763763
}
764764

765765
#[inline]
766-
fn debug_impl(this: &Self, f: &mut fmt::Formatter) -> fmt::Result {
766+
fn debug_impl(this: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
767767
fmt::Debug::fmt(&this.val(), f)
768768
}
769769

0 commit comments

Comments
 (0)