Skip to content

Commit e6bab6f

Browse files
authored
Remove pub from traits exercise (#2677)
1 parent 611306a commit e6bab6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/methods-and-traits/exercise.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
// ANCHOR: solution
1616
// ANCHOR: setup
17-
pub trait Logger {
17+
trait Logger {
1818
/// Log a message at the given verbosity level.
1919
fn log(&self, verbosity: u8, message: &str);
2020
}

0 commit comments

Comments
 (0)