Merge pull request #230 from tabris233/fix-blank-miss

🐞 fix(method.md): 缺少空白 / miss blank
This commit is contained in:
Sunface 2022-05-05 08:31:38 +08:00 committed by GitHub
commit 3c74b73d69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@ impl TrafficLight {
}
// fill in the blank, DON'T use any variants of `Self`
pub fn change_state() {
pub fn change_state(__) {
self.color = "green".to_string()
}
}

View File

@ -168,7 +168,7 @@ impl TrafficLight {
}
// 填空,不要使用 `Self` 或其变体
pub fn change_state() {
pub fn change_state(__) {
self.color = "green".to_string()
}
}