Skip to content

Commit c03e2ca

Browse files
authored
Merge pull request #58 from qryxip/fix-elided-lifetimes-in-paths
2 parents 6a2e7f6 + 8965119 commit c03e2ca

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)