about summary refs log tree commit diff
path: root/src/liballoc/btree/node.rs
diff options
context:
space:
mode:
authorBastien Orivel <eijebong@bananium.fr>2017-08-11 00:16:18 +0200
committerBastien Orivel <eijebong@bananium.fr>2017-08-11 00:16:18 +0200
commit47cb3c5bc28e1bb2ac2d2efb7796ceb17b4ab7de (patch)
treed322ab0b4256ce1b79dc63e2fab5e70a774c93c6 /src/liballoc/btree/node.rs
parent2ac5f7d249e29ee48737359e0e6dd9e59701a568 (diff)
downloadrust-47cb3c5bc28e1bb2ac2d2efb7796ceb17b4ab7de.tar.gz
rust-47cb3c5bc28e1bb2ac2d2efb7796ceb17b4ab7de.zip
Fix some typos
Diffstat (limited to 'src/liballoc/btree/node.rs')
-rw-r--r--src/liballoc/btree/node.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/btree/node.rs b/src/liballoc/btree/node.rs
index 06d3a113b94..7fe33c20e4f 100644
--- a/src/liballoc/btree/node.rs
+++ b/src/liballoc/btree/node.rs
@@ -132,7 +132,7 @@ impl<K, V> InternalNode<K, V> {
 
 /// An owned pointer to a node. This basically is either `Box<LeafNode<K, V>>` or
 /// `Box<InternalNode<K, V>>`. However, it contains no information as to which of the two types
-/// of nodes is acutally behind the box, and, partially due to this lack of information, has no
+/// of nodes is actually behind the box, and, partially due to this lack of information, has no
 /// destructor.
 struct BoxedNode<K, V> {
     ptr: Unique<LeafNode<K, V>>
@@ -264,7 +264,7 @@ impl<K, V> Root<K, V> {
 // correct variance.
 /// A reference to a node.
 ///
-/// This type has a number of paramaters that controls how it acts:
+/// This type has a number of parameters that controls how it acts:
 /// - `BorrowType`: This can be `Immut<'a>` or `Mut<'a>` for some `'a` or `Owned`.
 ///    When this is `Immut<'a>`, the `NodeRef` acts roughly like `&'a Node`,
 ///    when this is `Mut<'a>`, the `NodeRef` acts roughly like `&'a mut Node`,