We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e60a32f commit d448498Copy full SHA for d448498
src/basic/trait/advance-trait.md
@@ -84,7 +84,7 @@ fn difference<C: Container>(container: &C) {}
84
关联类型还可以被其它特征进行约束,例如:
85
```rust
86
trait Container{
87
- type A:Display;
+ type A: Display;
88
type B;
89
fn contains(&self, a: &Self::A, b: &Self::B) -> bool;
90
}
0 commit comments