Skip to content

Commit

Permalink
Merge pull request #356 from scala-steward/update/scalafmt-core-2.6.2
Browse files Browse the repository at this point in the history
Update scalafmt-core to 2.6.2
  • Loading branch information
mergify[bot] authored Jul 6, 2020
2 parents 602db45 + f764da7 commit c0be99b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 2.5.3
version = 2.6.2

align.preset = true
danglingParentheses.preset = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ object TwirlHelperImports {
x.asScala
}

/** Allows inline formatting of java.util.Date */
/** Allows inline formatting of java.util.Date */
implicit class TwirlRichDate(date: java.util.Date) {
def format(pattern: String): String = {
new java.text.SimpleDateFormat(pattern).format(date)
Expand Down
3 changes: 2 additions & 1 deletion parser/src/main/scala/play/twirl/parser/TwirlParser.scala
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,8 @@ class TwirlParser(val shouldParseInclusiveDot: Boolean) {
positional
}

/** Recursively match pairs of prefixes and suffixes and return the consumed characters
/**
* Recursively match pairs of prefixes and suffixes and return the consumed characters
*
* Terminates at EOF.
*/
Expand Down

0 comments on commit c0be99b

Please sign in to comment.