Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/derekbanas/Rust-Tutorial
/ print_str
Function
print_str
main.rs:125–127 ·
view source on GitHub ↗
(x: String)
Source
from the content-addressed store, hash-verified
123
}
124
125
fn print_str(x: String){
126
println!(
"A string {}"
, x);
127
}
128
129
fn print_return_str(x: String) -> String{
130
println!(
"A string {}"
, x);
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected