Update src/stacked_borrows.rs

Co-Authored-By: bjorn3 <bjorn3@users.noreply.github.com>
This commit is contained in:
Ralf Jung
2019-05-11 12:07:25 +02:00
committed by GitHub
parent 8530080d03
commit a9e66928d6
+1 -1
View File
@@ -373,7 +373,7 @@ fn test_invariants(&self) {
}
/// Derived a new pointer from one with the given tag.
/// `weak` controls whether this operation is weak or string: weak granting does not act as
/// `weak` controls whether this operation is weak or strong: weak granting does not act as
/// an access, and they add the new item directly on top of the one it is derived
/// from instead of all the way at the top of the stack.
fn grant(