mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03:00
commit
1652bb67d9
|
@ -1,5 +1,5 @@
|
||||||
// Structs contain data, but can also have logic. In this exercise we have
|
// Structs contain data, but can also have logic. In this exercise we have
|
||||||
// defined the `Package` struct and we want to test some logic attached to it.
|
// defined the `Package` struct, and we want to test some logic attached to it.
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
struct Package {
|
struct Package {
|
||||||
|
|
Loading…
Reference in a new issue