File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
branches/try/src/librustc_typeck Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: edeb4f1c86cbf6af8ef9874d4b3af50f721ea1b8
3
3
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4
- refs/heads/try: 565070948f8b2aff522d522b7a4be65790570b41
4
+ refs/heads/try: 633fe4463940e6d6523ceb9c6267983170761d7e
5
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
6
6
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
7
7
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change @@ -2731,6 +2731,9 @@ let x = 12u32; // the `u32` type does implement it:
2731
2731
2732
2732
x << 2; // ok!
2733
2733
```
2734
+
2735
+ It is also possible to overload most operators for your own type by
2736
+ implementing traits from `std::ops`.
2734
2737
"## ,
2735
2738
2736
2739
E0371 : r##"
You can’t perform that action at this time.
0 commit comments