about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-08-12 05:52:19 +0000
committerbors <bors@rust-lang.org>2017-08-12 05:52:19 +0000
commitbffc973da8a7045d6ad5c678eab6fd57ab49ed54 (patch)
treec82789a97e71ccb047782f41ffc96b7500f78706 /src/libsyntax/parse
parent2fa5340318111d562af2ef4897c75916731d55a2 (diff)
parentea5be96bab45a68d5877acdfab88404df7376209 (diff)
downloadrust-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/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs
index 893bada2670..957164bab79 100644
--- a/src/libsyntax/parse/mod.rs
+++ b/src/libsyntax/parse/mod.rs
@@ -124,7 +124,7 @@ pub fn parse_expr_from_source_str(name: String, source: String, sess: &ParseSess
 
 /// Parses an item.
 ///
-/// Returns `Ok(Some(item))` when successful, `Ok(None)` when no item was found, and`Err`
+/// Returns `Ok(Some(item))` when successful, `Ok(None)` when no item was found, and `Err`
 /// when a syntax error occurred.
 pub fn parse_item_from_source_str(name: String, source: String, sess: &ParseSess)
                                       -> PResult<Option<P<ast::Item>>> {