File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -76,13 +76,13 @@ impl<T> TreeNode<T> {
76
76
}
77
77
78
78
struct Tree < T > {
79
- /// Underlying resource (if any) that this heirarchy is granting access to
79
+ /// Underlying resource (if any) that this hierarchy is granting access to
80
80
resource_root : Option < Arc < T > > ,
81
81
/// Key of the root node of this hierarchy
82
82
///
83
83
/// Only when the tree is being initialized, should `root_key` be [None]
84
84
root_key : Option < NodeKey > ,
85
- /// Nodes within this heirarchy
85
+ /// Nodes within this hierarchy
86
86
nodes : BTreeMap < NodeKey , TreeNode < T > > ,
87
87
/// Weak self-reference, used when building [TreeNode] entries as nodes are
88
88
/// added to the tree. Held as a convenience, instead of requiring it to be
@@ -562,7 +562,7 @@ impl<T> Drop for Accessor<T> {
562
562
/// deadlock situation which is otherwise impossible to prevent.
563
563
///
564
564
/// As such it is expected that the Accessor will perform the tree
565
- /// deregistration of the node when it is being dropped. No other
565
+ /// de-registration of the node when it is being dropped. No other
566
566
/// structures should hold the `Arc<Node<T>>`.
567
567
fn drop ( & mut self ) {
568
568
self . 0 . drop_from_tree ( ) ;
You can’t perform that action at this time.
0 commit comments