Skip to content

Commit c53975d

Browse files
authored
Update higher-order-functions.md
1 parent c7df459 commit c53975d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_tour/higher-order-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ of a method that returns a function.
113113

114114
```tut
115115
def urlBuilder(ssl: Boolean, domainName: String): (String, String) => String = {
116-
val schema = if (ssl) "https://" else "https://"
116+
val schema = if (ssl) "https://" else "http://"
117117
(endpoint: String, query: String) => s"$schema$domainName/$endpoint?$query"
118118
}
119119

0 commit comments

Comments
 (0)