MCPcopy Create free account
hub / github.com/AxlLind/AdventOfCode / Producer

Class Producer

2019/src/bin/14.rs:66–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64fn div_round_up(a: usize, b: usize) -> usize { (a + b - 1) / b }
65
66struct Producer {
67 store: HashMap<&'static str, usize>,
68 costs: HashMap<&'static str, (usize, &'static [(usize, &'static str)])>,
69}
70
71impl Producer {
72 fn new() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected