Skip to content

Commit d314541

Browse files
authored
Merge pull request swiftlang#78715 from eeckstein/fix-typos
docs: fix two typos in SIL.md
2 parents eb6339d + 6907e26 commit d314541

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/SIL/SIL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)