Skip to content

Commit 3bb1c66

Browse files
authored
The USPS abbreviation for Arizona is AZ
AR is Arkansas.
1 parent c2bd4ae commit 3bb1c66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_overviews/scala3-book/control-structures.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ For example, given this `Map` of state abbreviations and their full names:
404404
val states = Map(
405405
"AK" -> "Alaska",
406406
"AL" -> "Alabama",
407-
"AR" -> "Arizona"
407+
"AZ" -> "Arizona"
408408
)
409409
```
410410
{% endtab %}
@@ -433,15 +433,15 @@ Here’s what that looks like in the REPL:
433433
scala> for ((abbrev, fullName) <- states) println(s"$abbrev: $fullName")
434434
AK: Alaska
435435
AL: Alabama
436-
AR: Arizona
436+
AZ: Arizona
437437
```
438438
{% endtab %}
439439
{% tab 'Scala 3' for=control-structures-17 %}
440440
```scala
441441
scala> for (abbrev, fullName) <- states do println(s"$abbrev: $fullName")
442442
AK: Alaska
443443
AL: Alabama
444-
AR: Arizona
444+
AZ: Arizona
445445
```
446446
{% endtab %}
447447
{% endtabs %}

0 commit comments

Comments
 (0)