summaryrefslogtreecommitdiffstats
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
parentReview feedback, remove fixme comment. (diff)
downloadgrust-324ced89e89a4e050ab2d0ef9e30e4ec8968f51a.tar.gz
grust-324ced89e89a4e050ab2d0ef9e30e4ec8968f51a.tar.bz2
grust-324ced89e89a4e050ab2d0ef9e30e4ec8968f51a.tar.xz
Review feedback: Fix typo.
-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 5d0913e8eb..3d6f49c377 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> {
54} 54}
55 55
56/// Every two-phase borrow has *exactly one* use (or else it is not a 56/// Every two-phase borrow has *exactly one* use (or else it is not a
57/// proper two-phase borrow under our current definition. However, not 57/// proper two-phase borrow under our current definition). However, not
58/// all uses are actually ones that activate the reservation.. In 58/// all uses are actually ones that activate the reservation.. In
59/// particular, a shared borrow of a `&mut` does not activate the 59/// particular, a shared borrow of a `&mut` does not activate the
60/// reservation. 60/// reservation.