Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
main
Function · 0.45
main
Function · 0.45
setup_store
Function · 0.45
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected