[−][src]Macro colmac::string
Sugar for String::new
and String::from
.
Examples
#[macro_use] extern crate colmac; // create an empty string assert_eq!(String::new(), string!()); // syntactically identical assert_eq!(String::from("abc"), string!("abc"));