]> git.lizzy.rs Git - rust.git/commitdiff
Update src/stacked_borrows.rs
authorRalf Jung <post@ralfj.de>
Sat, 11 May 2019 10:07:25 +0000 (12:07 +0200)
committerGitHub <noreply@github.com>
Sat, 11 May 2019 10:07:25 +0000 (12:07 +0200)
Co-Authored-By: bjorn3 <bjorn3@users.noreply.github.com>
src/stacked_borrows.rs

index 37288afe239ea4d08ac904c6c9d2bc47a0bdfaf1..910c4ce49f5aaacba8769ba6716b3e593f0ea8e7 100644 (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(