MCPcopy Create free account
hub / github.com/StudyRust/leetcode_rust / get_min

Method get_min

155-min-stack.rs:25–27  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

23 }
24
25 fn get_min(&self) -> i32 {
26 *self.stk.iter().min().unwrap()
27 }
28}
29
30fn main() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected