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
2 changed files with 2 additions and 2 deletions

View File

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