diff options
| author | Yechan Bae <yechan@gatech.edu> | 2021-09-05 16:04:19 -0400 |
|---|---|---|
| committer | Yechan Bae <yechan@gatech.edu> | 2021-09-05 16:04:19 -0400 |
| commit | 3a105cfceac42c6b691a1ba0fc948eb896eeff7d (patch) | |
| tree | e474a69c4f442bd4b546426dfb5b42fe1edce802 | |
| parent | e2750baf53aaa60db95f10759f6cf9463dc5a6bd (diff) | |
| download | rust-3a105cfceac42c6b691a1ba0fc948eb896eeff7d.tar.gz rust-3a105cfceac42c6b691a1ba0fc948eb896eeff7d.zip | |
Fix typo: needede -> needed
| -rw-r--r-- | library/alloc/src/collections/btree/node.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/collections/btree/node.rs b/library/alloc/src/collections/btree/node.rs index 8f6a2ec9ebd..a73f00a083a 100644 --- a/library/alloc/src/collections/btree/node.rs +++ b/library/alloc/src/collections/btree/node.rs @@ -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; |
