Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

How to pass a string literal

// How to pass a string literal

fn boom(s : &str) {
	println!("{}", s)
}

fn main() {
	boom("calendar");
}
 
PREVIOUS NEXT
Tagged: #How #pass #string #literal
ADD COMMENT
Topic
Name
8+4 =