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.
2 parents 059771b + 15cccaf commit 71894d3Copy full SHA for 71894d3
src/trait-bounds.md
@@ -40,7 +40,7 @@
40
```rust
41
# type Surface = i32;
42
trait Shape {
43
- fn draw(&self, Surface);
+ fn draw(&self, surface: Surface);
44
fn name() -> &'static str;
45
}
46
0 commit comments