#create #string #macro

string_macro

A simple macro to create string

1 unstable release

Uses new Rust 2024

0.1.0 Jan 31, 2026

#2732 in Rust patterns

MIT license

2KB

string_macro

string_macro A simple way to create string

Usage

fn main() {
   let s = string!("My string");
   println!("s: {}", s)
}

No runtime deps