Crates.io | handy_macros |
lib.rs | handy_macros |
version | 1.0.0 |
source | src |
created_at | 2022-05-15 00:28:07.890372 |
updated_at | 2022-05-15 00:28:07.890372 |
description | instead of annoyingly writing out .to_string() just do s!() |
homepage | |
repository | https://github.com/salmmanfred/handy_macros |
max_upload_size | |
id | 586824 |
size | 2,628 |
s!("&str") instead of "&str".to_string()
and
o!(borrowed_obj) instead of borrowed_obj.to_owned()