mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 14:10:03 +03:00
Update src/stacked_borrows.rs
Co-Authored-By: bjorn3 <bjorn3@users.noreply.github.com>
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user