Update ch10-02-traits.md

pull/928/head
萨格尔王 1 week ago committed by GitHub
parent b85d361d16
commit de09c809ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -101,7 +101,7 @@ trait 体中可以有多个方法:一行一个方法签名且都以分号结
这会打印出 `1 new post: (Read more from @horse_ebooks...)`
注意无法从相同方法的重载实现中调用默认方法
请注意,无法从一个方法的重写实现中调用与其同名的默认实现
### trait 作为参数

Loading…
Cancel
Save