Adjust margins for paperback version. Ensure nothing breaches the right margin.
This commit is contained in:
@@ -97,8 +97,8 @@ Ownership can be transferred.
|
||||
If you own a value, for example, you can transfer ownership to another variable:
|
||||
|
||||
```rust
|
||||
let a = "hello, world".to_string(); // <--- `a` is the owner of the String
|
||||
let b = a; // <--- `b` is now the owner of the String
|
||||
let a = "hello, world".to_string(); // <- `a` is the owner of the String
|
||||
let b = a; // <- `b` is now the owner of the String
|
||||
```
|
||||
|
||||
Rust's ownership system is baked into the type system: each function has to declare in its signature
|
||||
|
||||
Reference in New Issue
Block a user