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

Method is_empty

code/chapter04/num2str_stk.rs:26–28  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

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

Callers 1

num2str_stkFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected