Remove unneeded pub

This commit is contained in:
mo8it
2024-05-22 15:04:12 +02:00
parent d0b843d6c4
commit 3bb71c6b0c
18 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
//
// Consider what you can add to the Licensed trait.
pub trait Licensed {
trait Licensed {
fn licensing_info(&self) -> String;
}
+1 -1
View File
@@ -2,7 +2,7 @@
//
// Don't change any line other than the marked one.
pub trait Licensed {
trait Licensed {
fn licensing_info(&self) -> String {
"some information".to_string()
}
+2 -2
View File
@@ -2,13 +2,13 @@
//
// Don't change any line other than the marked one.
pub trait SomeTrait {
trait SomeTrait {
fn some_function(&self) -> bool {
true
}
}
pub trait OtherTrait {
trait OtherTrait {
fn other_function(&self) -> bool {
true
}