1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-01-26 04:22:03 +02:00
Kevin Wan 4771a7b9e7
chore: fix prompt error
Missed a blank line, which causes the prompt incorrect like below:

```rust
You can keep working on this exercise,
or jump into the next one by removing the `I AM NOT DONE` comment:

 6 |  // Make this code compile by using the proper Rc primitives to express that the sun has multiple owners.
 7 |  
 8 |  // I AM NOT DONE
 9 |  use std::rc::Rc;
```
2023-01-23 12:16:51 +08:00
..
2023-01-01 01:44:47 +01:00
2023-01-01 01:51:27 +01:00
2023-01-01 01:52:05 +01:00
2023-01-23 12:16:51 +08:00
2023-01-01 02:17:53 +01:00

Smart Pointers

In Rust, smart pointers are variables that contain an address in memory and reference some other data, but they also have additional metadata and capabilities. Smart pointers in Rust often own the data they point to, while references only borrow data.

Further Information