MCPcopy Index your code
hub / github.com/Rust-Web-Development/code / init

Method init

ch_06/src/store.rs:24–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22 }
23
24 fn init() -> HashMap<QuestionId, Question> {
25 let file = include_str!("../questions.json");
26 serde_json::from_str(file).expect("can't read questions.json")
27 }
28}

Callers 6

mainFunction · 0.45
mainFunction · 0.45
setup_storeFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected