|
|
|
|
|
by megumax
1620 days ago
|
|
f-strings would be part of Rust's grammar. `format` macro isn't available in `core` crate, but it is in `alloc` crate, so it needs to allocate memory. f-strings on other hand would be pretty weird. Would `f"5"` return a &'static str or a String? |
|