Skip to content

Commit 0d4a51d

Browse files
authored
Rollup merge of rust-lang#88673 - Qwaz:node-typo, r=jyn514
Fix typo: needede -> needed Fix a typo in library/alloc/src/collections/btree/node.rs
2 parents 797f9ce + 3a105cf commit 0d4a51d

File tree

1 file changed

+1
-1
lines changed
  • library/alloc/src/collections/btree

1 file changed

+1
-1
lines changed

library/alloc/src/collections/btree/node.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1663,7 +1663,7 @@ pub mod marker {
16631663
const PERMITS_TRAVERSAL: bool = true;
16641664
}
16651665
impl BorrowType for Owned {
1666-
// Traversal isn't needede, it happens using the result of `borrow_mut`.
1666+
// Traversal isn't needed, it happens using the result of `borrow_mut`.
16671667
// By disabling traversal, and only creating new references to roots,
16681668
// we know that every reference of the `Owned` type is to a root node.
16691669
const PERMITS_TRAVERSAL: bool = false;

0 commit comments

Comments
 (0)