mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-03-27 21:49:04 +02: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…
x
Reference in New Issue
Block a user