Skip to content

Commit da37458

Browse files
committed
remove trailing whitespaces
1 parent b12fa30 commit da37458

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

library/src/scala/quoted/Quotes.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2533,7 +2533,7 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
25332533
/** Convert this `TypeRepr` to an `Type[?]`
25342534
*
25352535
* Usage:
2536-
* ```scala
2536+
* ```scala
25372537
* //{
25382538
* def f(using Quotes) = {
25392539
* val typeRepr: TypeRepr = ???

scaladoc/src/dotty/tools/scaladoc/snippets/WrappedSnippet.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ object WrappedSnippet:
2626
imports.foreach(i => ps.println(s"import $i"))
2727
val nonEmptyClassInfos = if classInfos.isEmpty then Seq(SnippetCompilerData.ClassInfo(None, Nil, None)) else classInfos
2828

29-
if flag == SCFlags.MacroCompile then
29+
if flag == SCFlags.MacroCompile then
3030
ps.println("object Snippet {")
3131
else
3232
nonEmptyClassInfos.zipWithIndex.foreach { (info, i) =>
@@ -37,9 +37,9 @@ object WrappedSnippet:
3737
}
3838

3939
ps.endHide()
40-
val (indentsMade, createdVals) = if flag == SCFlags.MacroCompile then
41-
(1, 1)
42-
else
40+
val (indentsMade, createdVals) = if flag == SCFlags.MacroCompile then
41+
(1, 1)
42+
else
4343
(nonEmptyClassInfos.size, nonEmptyClassInfos.flatMap(_.names).size)
4444

4545
str.split('\n').foreach(ps.printlnWithIndent(indentsMade * indent, _))

0 commit comments

Comments
 (0)