Skip to content
This repository has been archived by the owner on May 5, 2019. It is now read-only.

Commit

Permalink
Merge pull request rust-lang#92 from niklasf/patch-1
Browse files Browse the repository at this point in the history
Use anonymous lifetime also for fmt::Formatter
  • Loading branch information
steveklabnik committed Aug 15, 2018
2 parents 5ca5982 + 9d68d26 commit 86d7f4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fn make_wrapper(string: &str) -> StrWrap<'_> {
}

impl fmt::Debug for StrWrap<'_> {
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
fmt.write_str(self.0)
}
}
Expand Down

0 comments on commit 86d7f4c

Please sign in to comment.