@@ -89,7 +89,7 @@ impl<K, V> LeafNode<K, V> {
8989
9090/// The underlying representation of internal nodes. As with `LeafNode`s, these should be hidden
9191/// behind `BoxedNode`s to prevent dropping uninitialized keys and values. Any pointer to an
92- /// `InternalNode` can be directly casted to a pointer to the underlying `LeafNode` portion of the
92+ /// `InternalNode` can be directly cast to a pointer to the underlying `LeafNode` portion of the
9393/// node, allowing code to act on leaf and internal nodes generically without having to even check
9494/// which of the two a pointer is pointing at. This property is enabled by the use of `repr(C)`.
9595#[ repr( C ) ]
@@ -408,7 +408,7 @@ impl<K, V> NodeRef<marker::Dying, K, V, marker::LeafOrInternal> {
408408}
409409
410410impl < ' a , K , V , Type > NodeRef < marker:: Mut < ' a > , K , V , Type > {
411- /// Temporarily takes out another, mutable reference to the same node. Beware, as
411+ /// Temporarily takes out another mutable reference to the same node. Beware, as
412412 /// this method is very dangerous, doubly so since it may not immediately appear
413413 /// dangerous.
414414 ///
@@ -759,15 +759,15 @@ impl<BorrowType, K, V, NodeType, HandleType> PartialEq
759759impl < BorrowType , K , V , NodeType , HandleType >
760760 Handle < NodeRef < BorrowType , K , V , NodeType > , HandleType >
761761{
762- /// Temporarily takes out another, immutable handle on the same location.
762+ /// Temporarily takes out another immutable handle on the same location.
763763 pub fn reborrow ( & self ) -> Handle < NodeRef < marker:: Immut < ' _ > , K , V , NodeType > , HandleType > {
764764 // We can't use Handle::new_kv or Handle::new_edge because we don't know our type
765765 Handle { node : self . node . reborrow ( ) , idx : self . idx , _marker : PhantomData }
766766 }
767767}
768768
769769impl < ' a , K , V , NodeType , HandleType > Handle < NodeRef < marker:: Mut < ' a > , K , V , NodeType > , HandleType > {
770- /// Temporarily takes out another, mutable handle on the same location. Beware, as
770+ /// Temporarily takes out another mutable handle on the same location. Beware, as
771771 /// this method is very dangerous, doubly so since it may not immediately appear
772772 /// dangerous.
773773 ///
0 commit comments