Skip to content

Commit

Permalink
[gardening] Fix recently introduced typos. Fix inconsistent headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
practicalswift committed Nov 17, 2016
1 parent f48644e commit 6fa577d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/Windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
To be filled in.

## Windows Subsystem for Linux (WSL)
- Note that all compiled Swift binaries are only executable within Bash on Windows and are Ubunutu, not Windows, executables.
- Note that all compiled Swift binaries are only executable within Bash on Windows and are Ubuntu, not Windows, executables.
- Make sure to run all commands from Bash, or the project won't compile.

### 1. Install WSL
Expand Down
2 changes: 1 addition & 1 deletion include/swift/Syntax/RawSyntax.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//===--- Trivia.h - Swift Raw Syntax Nodes ----------------------*- C++ -*-===//
//===--- RawSyntax.h - Swift Raw Syntax Nodes -------------------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
Expand Down
2 changes: 1 addition & 1 deletion include/swift/Syntax/Token.h
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ class Token {
/// Dump the structure of the raw syntax tree for debugging.
void dump(llvm::raw_ostream &OS, unsigned Indent = 0) const;

/// Print the raw syntax tree with full formatting fideltiy.
/// Print the raw syntax tree with full formatting fidelity.
void print(llvm::raw_ostream &OS) const;
};

Expand Down
2 changes: 1 addition & 1 deletion lib/Parse/Trivia.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//===--- Lexer.h - Swift Source Trivia --------------------------*- C++ -*-===//
//===--- Trivia.cpp - Swift Source Trivia ---------------------------------===//
//
// This source file is part of the Swift.org open source project
//
Expand Down
2 changes: 1 addition & 1 deletion lib/Sema/ConstraintSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -2031,7 +2031,7 @@ class ConstraintSystem {
ConstraintLocatorBuilder locator,
bool isFavored);

/// \brief Collect the current inactive disjunciton constraints.
/// \brief Collect the current inactive disjunction constraints.
void collectDisjunctions(SmallVectorImpl<Constraint *> &disjunctions);

/// \brief Solve the system of constraints after it has already been
Expand Down
4 changes: 2 additions & 2 deletions lib/Syntax/Token.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//===--- Token.cpp - Token interface ----------------------------*- C++ -*-===//
//===--- Token.cpp - Token interface --------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
Expand Down Expand Up @@ -88,7 +88,7 @@ void Token::dump(llvm::raw_ostream &OS, unsigned Indent) const {
OS << ')';
}

/// Print the raw syntax tree with full formatting fideltiy.
/// Print the raw syntax tree with full formatting fidelity.
void Token::print(llvm::raw_ostream &OS) const {
for (auto Leader : LeadingTrivia)
Leader.print(OS);
Expand Down

0 comments on commit 6fa577d

Please sign in to comment.