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

Class Pumpkin

exercise/docs/src/lib.rs:18–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16// - Document the "orangeness" field, explaining that it is a number from 8 to 27
17
18pub struct Pumpkin {
19 pub roundness: f32,
20 pub orangeness: i32,
21}
22
23// 4. Document the "smash" method. Explain that if you smash the pumpkin, it will be gone. Then it
24// can't be used for pie. :'-(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected