Skip to content

Commit

Permalink
Merge pull request #58 from qryxip/fix-elided-lifetimes-in-paths
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip authored Feb 2, 2023
2 parents 6a2e7f6 + 8965119 commit c03e2ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -776,12 +776,12 @@ trait InternalImplementations: ModIntBase {
}

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

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

Expand Down

0 comments on commit c03e2ca

Please sign in to comment.