mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-27 07:03:45 +00:00
Rollup merge of #88673 - Qwaz:node-typo, r=jyn514
Fix typo: needede -> needed Fix a typo in library/alloc/src/collections/btree/node.rs
This commit is contained in:
commit
0d4a51d741
@ -1663,7 +1663,7 @@ pub mod marker {
|
||||
const PERMITS_TRAVERSAL: bool = true;
|
||||
}
|
||||
impl BorrowType for Owned {
|
||||
// Traversal isn't needede, it happens using the result of `borrow_mut`.
|
||||
// Traversal isn't needed, it happens using the result of `borrow_mut`.
|
||||
// By disabling traversal, and only creating new references to roots,
|
||||
// we know that every reference of the `Owned` type is to a root node.
|
||||
const PERMITS_TRAVERSAL: bool = false;
|
||||
|
Loading…
Reference in New Issue
Block a user