MCPcopy Create free account
hub / github.com/Rust-Web-Development/code / init

Method init

ch_04/final/src/main.rs:60–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58 }
59
60 fn init() -> HashMap<QuestionId, Question> {
61 let file = include_str!("../questions.json");
62 serde_json::from_str(file).expect("can't read questions.json")
63 }
64}
65
66#[derive(Debug)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected