format
This commit is contained in:
parent
47599b6c7e
commit
d4972c2d62
1 changed files with 13 additions and 10 deletions
|
|
@ -18,7 +18,10 @@ enum Message {
|
||||||
|
|
||||||
impl Message {
|
impl Message {
|
||||||
fn print(&self) {
|
fn print(&self) {
|
||||||
println!("I don't do anything but can be called with any type: {:?}", self);
|
println!(
|
||||||
|
"I don't do anything but can be called with any type: {:?}",
|
||||||
|
self
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn call(&self) {
|
fn call(&self) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue