From 1bdb40cb3e0ec2c615b6ee7e8c557e67e4933f46 Mon Sep 17 00:00:00 2001 From: Akhtiam Sakaev Date: Mon, 18 May 2020 12:45:41 +0300 Subject: [PATCH] Fix typos --- NOTICE.md | 2 +- compiler/src/dotty/tools/io/AbstractFile.scala | 2 +- docs/blog/_posts/2018-10-10-10th-dotty-milestone-release.md | 2 +- docs/blog/_posts/2018-11-30-11th-dotty-milestone-release.md | 2 +- docs/blog/_posts/2019-01-21-12th-dotty-milestone-release.md | 2 +- docs/docs/contributing/debug-tests.md | 2 +- docs/docs/reference/contextual/multiversal-equality.md | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/NOTICE.md b/NOTICE.md index d4e48aa8c2ff..b116155369a8 100644 --- a/NOTICE.md +++ b/NOTICE.md @@ -83,7 +83,7 @@ major authors were omitted by oversight. Adriaan Moors, Paul Phillips and others. * dotty.tools.dottydoc: The Dottydoc documentation utility ships some - third-party Javascript and CSS libraries which are located under + third-party JavaScript and CSS libraries which are located under dotty-doc/resources/css/, dotty-doc/resources/js/, docs/css/ and docs/js/. Please refer to the license header of the concerned files for details. diff --git a/compiler/src/dotty/tools/io/AbstractFile.scala b/compiler/src/dotty/tools/io/AbstractFile.scala index 532dc315da7c..02f91a165a40 100644 --- a/compiler/src/dotty/tools/io/AbstractFile.scala +++ b/compiler/src/dotty/tools/io/AbstractFile.scala @@ -238,7 +238,7 @@ abstract class AbstractFile extends Iterable[AbstractFile] { private def fileOrSubdirectoryNamed(name: String, isDir: Boolean): AbstractFile = lookupName(name, isDir) match { case null => - // the optional exception may be thrown for symlinks, notably /tmp on MacOS. + // the optional exception may be thrown for symlinks, notably /tmp on macOS. // isDirectory tests for existing directory. The default behavior is hypothetical isDirectory(jpath, FOLLOW_LINKS). try Files.createDirectories(jpath) catch { case _: FileAlreadyExistsException if Files.isDirectory(jpath) => } diff --git a/docs/blog/_posts/2018-10-10-10th-dotty-milestone-release.md b/docs/blog/_posts/2018-10-10-10th-dotty-milestone-release.md index a5967a70801a..8bede806ac53 100644 --- a/docs/blog/_posts/2018-10-10-10th-dotty-milestone-release.md +++ b/docs/blog/_posts/2018-10-10-10th-dotty-milestone-release.md @@ -162,7 +162,7 @@ Releases are available for download on the _Releases_ section of the Dotty repository: [https://github.com/lampepfl/dotty/releases](https://github.com/lampepfl/dotty/releases) -For MacOs users, we also provide a [homebrew](https://brew.sh/) package that can be installed by +For macOS users, we also provide a [homebrew](https://brew.sh/) package that can be installed by running: ```shell diff --git a/docs/blog/_posts/2018-11-30-11th-dotty-milestone-release.md b/docs/blog/_posts/2018-11-30-11th-dotty-milestone-release.md index f42f5aee3805..db3108b12eee 100644 --- a/docs/blog/_posts/2018-11-30-11th-dotty-milestone-release.md +++ b/docs/blog/_posts/2018-11-30-11th-dotty-milestone-release.md @@ -148,7 +148,7 @@ Releases are available for download on the _Releases_ section of the Dotty repository: [https://github.com/lampepfl/dotty/releases](https://github.com/lampepfl/dotty/releases) -For MacOs users, we also provide a [homebrew](https://brew.sh/) package that can be installed by +For macOS users, we also provide a [homebrew](https://brew.sh/) package that can be installed by running: ```shell diff --git a/docs/blog/_posts/2019-01-21-12th-dotty-milestone-release.md b/docs/blog/_posts/2019-01-21-12th-dotty-milestone-release.md index f51e60f5f3e0..e5e9ec8652c0 100644 --- a/docs/blog/_posts/2019-01-21-12th-dotty-milestone-release.md +++ b/docs/blog/_posts/2019-01-21-12th-dotty-milestone-release.md @@ -139,7 +139,7 @@ Releases are available for download on the _Releases_ section of the Dotty repository: [https://github.com/lampepfl/dotty/releases](https://github.com/lampepfl/dotty/releases) -For MacOs users, we also provide a [homebrew](https://brew.sh/) package that can be installed by +For macOS users, we also provide a [homebrew](https://brew.sh/) package that can be installed by running: ```shell diff --git a/docs/docs/contributing/debug-tests.md b/docs/docs/contributing/debug-tests.md index e7e62bb102c6..89a220e9c0dd 100644 --- a/docs/docs/contributing/debug-tests.md +++ b/docs/docs/contributing/debug-tests.md @@ -8,7 +8,7 @@ title: Tests for Debuggability - JDB - expect -Both are usually pre-installed on Mac OS and linux distributions. +Both are usually pre-installed on macOS and linux distributions. ## Debug Manually with JDB diff --git a/docs/docs/reference/contextual/multiversal-equality.md b/docs/docs/reference/contextual/multiversal-equality.md index 39ffac6de5e0..c9e5c29b82c4 100644 --- a/docs/docs/reference/contextual/multiversal-equality.md +++ b/docs/docs/reference/contextual/multiversal-equality.md @@ -210,4 +210,4 @@ work under `-language:strictEquality`, since otherwise the universal `Eq[Any]` i More on multiversal equality is found in a [blog post](http://www.scala-lang.org/blog/2016/05/06/multiversal-equality.html) -and a [Github issue](https://github.com/lampepfl/dotty/issues/1247). +and a [GitHub issue](https://github.com/lampepfl/dotty/issues/1247).