Skip to content

Commit

Permalink
Merge pull request #561 from OccupyMars2025/master
Browse files Browse the repository at this point in the history
[doc] src/lib.rs : prefix an unused variable with an underscore
  • Loading branch information
KodrAus committed May 26, 2023
2 parents 502bdb7 + 1acf2f3 commit f4c21c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -690,7 +690,7 @@ impl<'a> MaybeStaticStr<'a> {
/// struct SimpleLogger;
///
/// impl log::Log for SimpleLogger {
/// fn enabled(&self, metadata: &log::Metadata) -> bool {
/// fn enabled(&self, _metadata: &log::Metadata) -> bool {
/// true
/// }
///
Expand Down

0 comments on commit f4c21c1

Please sign in to comment.