File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -446,7 +446,7 @@ Lifetimes have following properties:
446
446
447
447
- Lifetimes of guaranteed values are called _ borrow scopes_ . A borrow scope
448
448
starts with a single definition - the borrow-introducer. There are only a few
449
- different kind of borrow-introducers:
449
+ different kinds of borrow-introducers:
450
450
- guaranteed function argument: the lifetime spans over the whole function
451
451
and doesn't need a scope-ending use.
452
452
- ` borrowed-from ` instruction: it produces a borrow scope from a [ reborrow
@@ -481,7 +481,7 @@ Lifetimes have following properties:
481
481
```
482
482
%1 = load [copy] %0 // producer
483
483
%2 = copy_value %1 // interior use of %1
484
- %3 = move_value %1 // consuming use of %2
484
+ %3 = move_value %1 // consuming use of %1
485
485
%4 = copy_value %1 // ERROR: use of %1 outside %1's lifetime
486
486
```
487
487
You can’t perform that action at this time.
0 commit comments