Skip to content

Commit b43b0bc

Browse files
MagentaManifoldNoahDragon
authored andcommitted
Fix typo in borrowing.md in the Speaker's Notes (google#490)
the -> they
1 parent 743ac40 commit b43b0bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ownership/borrowing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fn main() {
2525
<details>
2626

2727
Notes on stack returns:
28-
* Demonstrate that the return from `add` is cheap because the compiler can eliminate the copy operation. Change the above code to print stack addresses and run it on the [Playground]. In the "DEBUG" optimization level, the addresses should change, while the stay the same when changing to the "RELEASE" setting:
28+
* Demonstrate that the return from `add` is cheap because the compiler can eliminate the copy operation. Change the above code to print stack addresses and run it on the [Playground]. In the "DEBUG" optimization level, the addresses should change, while they stay the same when changing to the "RELEASE" setting:
2929

3030
```rust,editable
3131
#[derive(Debug)]

0 commit comments

Comments
 (0)