File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
branches/snap-stage3/src/doc/trpl Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: c044791d80ea0dc5c4b57b6030a67b69f8510239
3
- refs/heads/snap-stage3: 37dd7a24949813a48c8e2be7178a3c0b5ba5c998
3
+ refs/heads/snap-stage3: dc99fdbd664a936d5f31783774a1362491b31e14
4
4
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
5
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
6
6
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ fn print_area<T>(shape: T) {
56
56
Rust complains:
57
57
58
58
``` text
59
- error: type `T` does not implement any method in scope named `area`
59
+ error: no method named `area` found for type `T` in the current scope
60
60
```
61
61
62
62
Because ` T ` can be any type, we can’t be sure that it implements the ` area `
You can’t perform that action at this time.
0 commit comments