diff options
| author | bors <bors@rust-lang.org> | 2017-08-12 05:52:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-08-12 05:52:19 +0000 |
| commit | bffc973da8a7045d6ad5c678eab6fd57ab49ed54 (patch) | |
| tree | c82789a97e71ccb047782f41ffc96b7500f78706 /src/liballoc/btree | |
| parent | 2fa5340318111d562af2ef4897c75916731d55a2 (diff) | |
| parent | ea5be96bab45a68d5877acdfab88404df7376209 (diff) | |
| download | rust-bffc973da8a7045d6ad5c678eab6fd57ab49ed54.tar.gz rust-bffc973da8a7045d6ad5c678eab6fd57ab49ed54.zip | |
Auto merge of #43794 - Eijebong:fix_typos, r=lukaramu,steveklanik,imperio
Fix some typos I wrote a really naive script and found those typos in the documentation.
Diffstat (limited to 'src/liballoc/btree')
| -rw-r--r-- | src/liballoc/btree/node.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/btree/node.rs b/src/liballoc/btree/node.rs index 8cea6c482c3..0e61905131f 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`, |
