Fix some typos

This commit is contained in:
Bastien Orivel 2017-08-11 00:16:18 +02:00
parent 2ac5f7d249
commit 47cb3c5bc2
21 changed files with 24 additions and 24 deletions

View file

@ -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>>> {