MCPcopy Index your code
hub / github.com/battlecode/battlecode-2018 / get_level_mut

Method get_level_mut

battlecode-engine/src/research.rs:91–97  ·  view source on GitHub ↗
(&mut self, branch: &Branch)

Source from the content-addressed store, hash-verified

89 }
90
91 fn get_level_mut(&mut self, branch: &Branch) -> &mut Level {
92 if let Some(level) = self.level.get_mut(branch) {
93 level
94 } else {
95 unreachable!();
96 }
97 }
98
99 fn get_maybe_level(&mut self, branch: &Branch) -> Level {
100 if let Some(level) = self.maybe_level.get(branch) {

Callers 1

end_roundMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected