/// Shiny's motto
struct Steeve;
impl SteeveJobs {
/// Return Steeve Jobs quote
fn said(&self) -> &str {
"Quality is more important than quantity. \
One home run is much better than two doubles."
}
}
fn main() {
let steeve_jobs = SteeveJobs;
println!("Steeve Jobs - {}", steeve_jobs.said());
}
-
Notifications
You must be signed in to change notification settings - Fork 2
ShinySyntax/ShinySyntax012
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published