Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QMHTMY/RustBook
/ is_empty
Method
is_empty
code/chapter03/base_converter.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
31
fn base_converter(mut dec_num: u32, base: u32) -> String {
Callers
1
base_converter
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected