about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2018-05-22 16:50:03 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2018-05-29 23:02:40 +0200
commit324ced89e89a4e050ab2d0ef9e30e4ec8968f51a (patch)
tree5bb0d916d75b02399bd99a8bd91eec6858b40a91 /src
parent2f7f7ac14ef6537e266983449fbd63b163b8560e (diff)
downloadrust-324ced89e89a4e050ab2d0ef9e30e4ec8968f51a.tar.gz
rust-324ced89e89a4e050ab2d0ef9e30e4ec8968f51a.zip
Review feedback: Fix typo.
Diffstat (limited to 'src')
-rw-r--r--src/librustc_mir/borrow_check/borrow_set.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/borrow_check/borrow_set.rs b/src/librustc_mir/borrow_check/borrow_set.rs
index 5d0913e8eb4..3d6f49c3772 100644
--- a/src/librustc_mir/borrow_check/borrow_set.rs
+++ b/src/librustc_mir/borrow_check/borrow_set.rs
@@ -54,7 +54,7 @@ impl<'tcx> Index<BorrowIndex> for BorrowSet<'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.