Crate interpolate [−] [src]
A simple form of Rust string interpolation
interpolate provides basic string interpolation functionality with a very light-weight syntax.
use interpolate::s; let name = "Hercules"; let greet = s!("Hello, $name"); let sos = s!("HELP, ${name.to_uppercase()}");
That is all.
Functions
s |
Inline interpolation macro |