This commit is contained in:
laurens 2020-05-22 16:51:56 +02:00
parent 47599b6c7e
commit d4972c2d62

View file

@ -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) {