MCPcopy Create free account
hub / github.com/QMHTMY/RustBook / is_empty

Method is_empty

publication/code/chapter05/num2str_stk.rs:28–30  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

26 }
27
28 fn is_empty(&self) -> bool {
29 0 == self.top
30 }
31}
32
33fn num2str_stk(mut num: i32, base: i32) -> String {

Callers 1

num2str_stkFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected