Crates.io | concat_strs |
lib.rs | concat_strs |
version | 1.0.2 |
source | src |
created_at | 2020-06-04 00:03:06.759193 |
updated_at | 2020-06-04 00:15:57.436285 |
description | Macro for quickly building a String from components. |
homepage | |
repository | https://github.com/9999years/concat_strs |
max_upload_size | |
id | 249844 |
size | 9,364 |
Provides the concat_strs!
macro, which allows quickly building a String
from a number of components.
Example usage:
use concat_strs::concat_strs;
assert_eq!(
"foo_bar_3.0",
concat_strs!(
"foo",
'_',
"bar",
'_',
3.0,
)
);