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:
446446
447447- Lifetimes of guaranteed values are called _ borrow scopes_ . A borrow scope
448448 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:
450450 - guaranteed function argument: the lifetime spans over the whole function
451451 and doesn't need a scope-ending use.
452452 - ` borrowed-from ` instruction: it produces a borrow scope from a [ reborrow
@@ -481,7 +481,7 @@ Lifetimes have following properties:
481481```
482482 %1 = load [copy] %0 // producer
483483 %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
485485 %4 = copy_value %1 // ERROR: use of %1 outside %1's lifetime
486486```
487487
You can’t perform that action at this time.
0 commit comments