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

Method default

exercise/logging/src/lib.rs:38–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36
37impl Default for Frog {
38 fn default() -> Self {
39 // 6. Use trace!() to log that a default value was generated, with the debug representation
40 Frog {
41 energy: 5,
42 sleeping: false,
43 }
44 }
45}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected