Fix typos

This commit is contained in:
Gautam Kotian 2016-02-28 00:11:19 +01:00
parent 65ac0871fd
commit be6f5706ae
1 changed files with 3 additions and 3 deletions

View File

@ -89,7 +89,7 @@ struct TokenFormatter(OutputRange)
this.config = config; this.config = config;
} }
/// Runs the foramtting process /// Runs the formatting process
void format() void format()
{ {
while (index < tokens.length) while (index < tokens.length)
@ -122,7 +122,7 @@ private:
/// Information about the AST /// Information about the AST
const ASTInformation* astInformation; const ASTInformation* astInformation;
/// token indicies where line breaks should be placed /// Token indices where line breaks should be placed
size_t[] linebreakHints; size_t[] linebreakHints;
/// Current indentation stack for the file /// Current indentation stack for the file
@ -311,7 +311,7 @@ private:
// if // if
writeToken(); writeToken();
// assume that the parens are present, otherwise the parser would not // assume that the parens are present, otherwise the parser would not
// have told is there was a constraint here // have told us there was a constraint here
write(" "); write(" ");
writeParens(false); writeParens(false);
} }