Comment wording cleanups.

This commit is contained in:
Dan Gohman
2017-08-31 12:18:15 -07:00
parent bc528917fd
commit dc79d155ff
8 changed files with 15 additions and 15 deletions

View File

@@ -571,7 +571,7 @@ impl<'a> Parser<'a> {
// Match and consume an optional offset32 immediate.
//
// Note that that this will match an empty string as an empty offset, and that if an offset is
// Note that this will match an empty string as an empty offset, and that if an offset is
// present, it must contain a sign.
fn optional_offset32(&mut self) -> Result<Offset32> {
if let Some(Token::Integer(text)) = self.token() {
@@ -587,7 +587,7 @@ impl<'a> Parser<'a> {
// Match and consume an optional uoffset32 immediate.
//
// Note that that this will match an empty string as an empty offset, and that if an offset is
// Note that this will match an empty string as an empty offset, and that if an offset is
// present, it must contain a `+` sign.
fn optional_uoffset32(&mut self) -> Result<Uoffset32> {
if let Some(Token::Integer(text)) = self.token() {