Skip to content

Commit 40fc426

Browse files
committed
Fix typo
1 parent ec5321c commit 40fc426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/cc/Capability.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ object Capabilities:
769769

770770
/** The least classifier between `cls1` and `cls2`, which are either
771771
* AnyClass, NothingClass, or a class directly extending caps.Classifier.
772-
* @return if oen of cls1, cls2 is a subclass of the other, the subclass
772+
* @return if one of cls1, cls2 is a subclass of the other, the subclass
773773
* otherwise NothingClass (which is a subclass of all classes)
774774
*/
775775
def leastClassifier(cls1: ClassSymbol, cls2: ClassSymbol)(using Context): ClassSymbol =

0 commit comments

Comments
 (0)