From 6affaf41656c7f564a11d70d8329a43298450213 Mon Sep 17 00:00:00 2001 From: Florian3k Date: Wed, 3 Jul 2024 20:38:00 +0200 Subject: [PATCH] apply fixes from review [Cherry-picked 32b5843eee864d166ce78a1031504bc5429dd082] --- library-aux/src/scala/AnyKind.scala | 2 +- library-aux/src/scala/Matchable.scala | 2 +- library-aux/src/scala/andType.scala | 4 ++-- library-aux/src/scala/orType.scala | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/library-aux/src/scala/AnyKind.scala b/library-aux/src/scala/AnyKind.scala index 02c4d3747bcc..56d51be114ea 100644 --- a/library-aux/src/scala/AnyKind.scala +++ b/library-aux/src/scala/AnyKind.scala @@ -2,6 +2,6 @@ package scala /** The super-type of all types. * - * See [[https://docs.scala-lang.org/scala3/reference/other-new-features/kind-polymorphism.html]]. + * See [[https://docs.scala-lang.org/scala3/reference/other-new-features/kind-polymorphism.html]]. */ final abstract class AnyKind diff --git a/library-aux/src/scala/Matchable.scala b/library-aux/src/scala/Matchable.scala index 5cef77929417..598ded9d3bc3 100644 --- a/library-aux/src/scala/Matchable.scala +++ b/library-aux/src/scala/Matchable.scala @@ -2,6 +2,6 @@ package scala /** The base trait of types that can be safely pattern matched against. * - * See [[https://docs.scala-lang.org/scala3/reference/other-new-features/matchable.html]]. + * See [[https://docs.scala-lang.org/scala3/reference/other-new-features/matchable.html]]. */ trait Matchable diff --git a/library-aux/src/scala/andType.scala b/library-aux/src/scala/andType.scala index 968cc2e9a8fa..de3c3ff36bc5 100644 --- a/library-aux/src/scala/andType.scala +++ b/library-aux/src/scala/andType.scala @@ -2,6 +2,6 @@ package scala /** The intersection of two types. * - * See [[https://docs.scala-lang.org/scala3/reference/new-types/intersection-types.html]]. + * See [[https://docs.scala-lang.org/scala3/reference/new-types/intersection-types.html]]. */ -type &[A, B] = A & B +type &[A, B] diff --git a/library-aux/src/scala/orType.scala b/library-aux/src/scala/orType.scala index b6dc8ea2563c..ff1947a9498e 100644 --- a/library-aux/src/scala/orType.scala +++ b/library-aux/src/scala/orType.scala @@ -2,6 +2,6 @@ package scala /** The union of two types. * - * See [[https://docs.scala-lang.org/scala3/reference/new-types/union-types.html]]. + * See [[https://docs.scala-lang.org/scala3/reference/new-types/union-types.html]]. */ -type |[A, B] = A | B +type |[A, B]