Skip to content

Commit 2f9dd5d

Browse files
authored
Fix typo
1 parent e8c504d commit 2f9dd5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wip/stacked-borrows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ pub enum RetagKind {
116116

117117
`Retag` is inserted into the MIR for the following situations:
118118

119-
* A retag happens after every assignment MIR statement where the assigned type may by of reference or box type.
119+
* A retag happens after every assignment MIR statement where the assigned type may be of reference or box type.
120120
This is usually a `Default` retag. However, if the RHS of this assignment is a `Ref` which allows two-phase borrows, then this is a `TwoPhase` retag.
121121

122122
Currently, if the LHS of the assignment involves a `Deref`, no `Retag` is inserted.

0 commit comments

Comments
 (0)