Skip to content

Commit

Permalink
docs(struct): fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanyf committed Sep 15, 2021
1 parent 8e626d7 commit 6867237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/struct.md
Expand Up @@ -285,7 +285,7 @@ struct fish {
struct fish shark = {"shark", 9, {"Selachimorpha", 500}};

// 写法二
struct breek myBreed = {"Selachimorpha", 500};
struct species myBreed = {"Selachimorpha", 500};
struct fish shark = {"shark", 9, myBreed};

// 写法三
Expand Down

0 comments on commit 6867237

Please sign in to comment.