Skip to content

Commit

Permalink
Merge pull request #10679 from SethTisue/fix-typos
Browse files Browse the repository at this point in the history
fix some typos
  • Loading branch information
lrytz committed Jan 31, 2024
2 parents f973d13 + 5fb58bf commit e46dd02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/compiler/scala/tools/nsc/settings/ScalaSettings.scala
Expand Up @@ -127,7 +127,7 @@ trait ScalaSettings extends StandardScalaSettings with Warnings { _: MutableSett
private val XsourceHelp =
sm"""|-Xsource:3 is for migrating a codebase, -Xsource:3-cross is for cross-building.
|
|-Xsource:3 isues migration warnings in category `cat=scala3-migration`,
|-Xsource:3 issues migration warnings in category `cat=scala3-migration`,
| which by default are promoted to errors under the `-Wconf` configuration.
| Examples of promoted warnings:
| * Implicit definitions must have an explicit type
Expand Down
2 changes: 1 addition & 1 deletion src/reflect/scala/reflect/internal/TreeInfo.scala
Expand Up @@ -879,7 +879,7 @@ abstract class TreeInfo {
/** Returns a wrapper that knows how to destructure and analyze applications.
*/
final def dissectApplied(tree: Tree) = new Applied(tree)
/** Equivalent ot disectApplied(tree).core, but more efficient */
/** Equivalent to dissectApplied(tree).core, but more efficient */
@scala.annotation.tailrec
final def dissectCore(tree: Tree): Tree = tree match {
case TypeApply(fun, _) =>
Expand Down

0 comments on commit e46dd02

Please sign in to comment.