mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-04 17:23:36 +02:00
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user