Skip to content

Commit 690800f

Browse files
committed
Spelling nits
1 parent 2ed79e7 commit 690800f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/propolis/src/accessors.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ impl<T> TreeNode<T> {
7676
}
7777

7878
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
8080
resource_root: Option<Arc<T>>,
8181
/// Key of the root node of this hierarchy
8282
///
8383
/// Only when the tree is being initialized, should `root_key` be [None]
8484
root_key: Option<NodeKey>,
85-
/// Nodes within this heirarchy
85+
/// Nodes within this hierarchy
8686
nodes: BTreeMap<NodeKey, TreeNode<T>>,
8787
/// Weak self-reference, used when building [TreeNode] entries as nodes are
8888
/// added to the tree. Held as a convenience, instead of requiring it to be
@@ -562,7 +562,7 @@ impl<T> Drop for Accessor<T> {
562562
/// deadlock situation which is otherwise impossible to prevent.
563563
///
564564
/// 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
566566
/// structures should hold the `Arc<Node<T>>`.
567567
fn drop(&mut self) {
568568
self.0.drop_from_tree();

0 commit comments

Comments
 (0)