]> git.lizzy.rs Git - rust.git/commitdiff
Review feedback: Fix typo.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Tue, 22 May 2018 14:50:03 +0000 (16:50 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Tue, 29 May 2018 21:02:40 +0000 (23:02 +0200)
src/librustc_mir/borrow_check/borrow_set.rs

index 5d0913e8eb479f865428cd4dc392cb89c593e028..3d6f49c3772264032914b83c2fbfe4805a69c0a0 100644 (file)
@@ -54,7 +54,7 @@ fn index(&self, index: BorrowIndex) -> &BorrowData<'tcx> {
 }
 
 /// Every two-phase borrow has *exactly one* use (or else it is not a
-/// proper two-phase borrow under our current definition. However, not
+/// proper two-phase borrow under our current definition). However, not
 /// all uses are actually ones that activate the reservation.. In
 /// particular, a shared borrow of a `&mut` does not activate the
 /// reservation.