mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-06 01:53:30 +02:00
Remove unneeded pub
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
//
|
||||
// Consider what you can add to the Licensed trait.
|
||||
|
||||
pub trait Licensed {
|
||||
trait Licensed {
|
||||
fn licensing_info(&self) -> String;
|
||||
}
|
||||
|
||||
|
||||
@@ -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,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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user