Skip to content

Commit 76060ae

Browse files
committed
---
yaml --- r: 219049 b: refs/heads/snap-stage3 c: dc99fdb h: refs/heads/master i: 219047: 6ef7af3 v: v3
1 parent 6a0969d commit 76060ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: c044791d80ea0dc5c4b57b6030a67b69f8510239
3-
refs/heads/snap-stage3: 37dd7a24949813a48c8e2be7178a3c0b5ba5c998
3+
refs/heads/snap-stage3: dc99fdbd664a936d5f31783774a1362491b31e14
44
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/snap-stage3/src/doc/trpl/traits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ fn print_area<T>(shape: T) {
5656
Rust complains:
5757

5858
```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
6060
```
6161

6262
Because `T` can be any type, we can’t be sure that it implements the `area`

0 commit comments

Comments
 (0)