MCPcopy Create free account
hub / github.com/CleanCut/ultimate_rust2 / Party

Class Party

exercise/traits/src/main.rs:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5}
6
7pub struct Party {
8 pub at_restaurant: bool,
9 pub num_people: u8,
10 pub cake: Cake,
11}
12
13fn main() {
14 // 1. The code below doesn't work because Cake doesn't implement Debug.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected