Skip to content

Commit 8965119

Browse files
committed
Fix elided-lifetimes-in-paths warnings
1 parent 19509cd commit 8965119

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modint.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -776,12 +776,12 @@ trait InternalImplementations: ModIntBase {
776776
}
777777

778778
#[inline]
779-
fn display_impl(this: &Self, f: &mut fmt::Formatter) -> fmt::Result {
779+
fn display_impl(this: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
780780
fmt::Display::fmt(&this.val(), f)
781781
}
782782

783783
#[inline]
784-
fn debug_impl(this: &Self, f: &mut fmt::Formatter) -> fmt::Result {
784+
fn debug_impl(this: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
785785
fmt::Debug::fmt(&this.val(), f)
786786
}
787787

0 commit comments

Comments
 (0)