mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-25 05:29:41 +00:00
@ -53,7 +53,7 @@ fn main() {
|
||||
3. 🌟🌟
|
||||
```rust,editable
|
||||
|
||||
// Question: how many heap allocations are happend here ?
|
||||
// Question: how many heap allocations are happened here ?
|
||||
// Your answer:
|
||||
fn main() {
|
||||
// Create a String type based on `&str`
|
||||
|
Reference in New Issue
Block a user