diff options
| author | sd234678 <sd234678@protonmail.com> | 2019-08-09 15:14:05 +0100 |
|---|---|---|
| committer | sd234678 <sd234678@protonmail.com> | 2019-08-16 10:54:20 +0100 |
| commit | 56ebd57960efd1d96c142b456add67b5257c21fb (patch) | |
| tree | a7a36e445c39c2a2d158cc1db098ea4293a02287 /src/test/ui/methods | |
| parent | f7af19c279b8b7ea3d2c21fcbd67164af8d5d968 (diff) | |
Remove meaningless comments in src/test
Diffstat (limited to 'src/test/ui/methods')
| -rw-r--r-- | src/test/ui/methods/method-projection.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/methods/method-projection.rs b/src/test/ui/methods/method-projection.rs index cf33d53968b..21d983f192a 100644 --- a/src/test/ui/methods/method-projection.rs +++ b/src/test/ui/methods/method-projection.rs @@ -2,9 +2,6 @@ // Test that we can use method notation to call methods based on a // projection bound from a trait. Issue #20469. -/////////////////////////////////////////////////////////////////////////// - - trait MakeString { fn make_string(&self) -> String; } @@ -21,8 +18,6 @@ impl MakeString for usize { } } -/////////////////////////////////////////////////////////////////////////// - trait Foo { type F: MakeString; @@ -33,8 +28,6 @@ fn foo<F:Foo>(f: &F) -> String { f.get().make_string() } -/////////////////////////////////////////////////////////////////////////// - struct SomeStruct { field: isize, } @@ -47,8 +40,6 @@ impl Foo for SomeStruct { } } -/////////////////////////////////////////////////////////////////////////// - struct SomeOtherStruct { field: usize, } |
