We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
elided-lifetimes-in-paths
1 parent 19509cd commit 8965119Copy full SHA for 8965119
src/modint.rs
@@ -776,12 +776,12 @@ trait InternalImplementations: ModIntBase {
776
}
777
778
#[inline]
779
- fn display_impl(this: &Self, f: &mut fmt::Formatter) -> fmt::Result {
+ fn display_impl(this: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
780
fmt::Display::fmt(&this.val(), f)
781
782
783
784
- fn debug_impl(this: &Self, f: &mut fmt::Formatter) -> fmt::Result {
+ fn debug_impl(this: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
785
fmt::Debug::fmt(&this.val(), f)
786
787
0 commit comments