Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StudyRust/leetcode_rust
/ main
Function
main
2109-adding-spaces-to-a-string.rs:12–16 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
10
}
11
12
fn main() {
13
let s =
"LeetcodeHelpsMeLearn"
.to_string();
14
let spaces = vec![8,13,15];
15
println!(
"{:?}"
, add_spaces(s, spaces));
16
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected