Skip to content

Commit a1b4a69

Browse files
authored
fix typo (#1190)
* 校对: chapter2/03_Strings_and_Characters 方法名变化 index(of:) 已更名为: firstIndex(of:) * Update 03_Strings_and_Characters.md fix typo
1 parent 363cec3 commit a1b4a69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/02_language_guide/03_Strings_and_Characters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ It also ends with a line break.
8989

9090
```swift
9191
let wiseWords = "\"Imagination is more important than knowledge\" - Einstein"
92-
// "Imageination is more important than knowledge" - Enistein
92+
// "Imagination is more important than knowledge" - Einstein
9393
let dollarSign = "\u{24}" // $,Unicode 标量 U+0024
9494
let blackHeart = "\u{2665}" // ♥,Unicode 标量 U+2665
9595
let sparklingHeart = "\u{1F496}" // 💖,Unicode 标量 U+1F496

0 commit comments

Comments
 (0)