From be6f5706aeb75a83dd39338d683a1bcb74ad5c15 Mon Sep 17 00:00:00 2001 From: Gautam Kotian Date: Sun, 28 Feb 2016 00:11:19 +0100 Subject: [PATCH] Fix typos --- src/dfmt/formatter.d | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dfmt/formatter.d b/src/dfmt/formatter.d index e5c64c2..cd8466b 100644 --- a/src/dfmt/formatter.d +++ b/src/dfmt/formatter.d @@ -89,7 +89,7 @@ struct TokenFormatter(OutputRange) this.config = config; } - /// Runs the foramtting process + /// Runs the formatting process void format() { while (index < tokens.length) @@ -122,7 +122,7 @@ private: /// Information about the AST const ASTInformation* astInformation; - /// token indicies where line breaks should be placed + /// Token indices where line breaks should be placed size_t[] linebreakHints; /// Current indentation stack for the file @@ -311,7 +311,7 @@ private: // if writeToken(); // 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(" "); writeParens(false); }