Skip to content

Commit

Permalink
Remove pub from traits exercise
Browse files Browse the repository at this point in the history
  • Loading branch information
randomPoison committed Feb 28, 2025
1 parent 611306a commit 54fbfed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/methods-and-traits/exercise.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// ANCHOR: solution
// ANCHOR: setup
pub trait Logger {
trait Logger {
/// Log a message at the given verbosity level.
fn log(&self, verbosity: u8, message: &str);
}
Expand Down

0 comments on commit 54fbfed

Please sign in to comment.