Fix typo: needede -> needed

This commit is contained in:
Yechan Bae 2021-09-05 16:04:19 -04:00
parent e2750baf53
commit 3a105cfcea

View File

@ -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;