docs(struct): fixed typo

This commit is contained in:
ruanyf
2021-09-15 21:31:49 +08:00
parent 8e626d7aa1
commit 686723778c

View File

@@ -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};
// 写法三