Skip to content

Commit 92001aa

Browse files
committed
moved renamed docs formatted | can-copy-pod.rs
1 parent fc82692 commit 92001aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/ui/can-copy-pod.rs renamed to tests/ui/traits/copy-trait-implicit-copy.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1+
//! Tests that type parameters with the `Copy` are implicitly copyable.
2+
13
//@ run-pass
24

35
/* Any copyright is dedicated to the Public Domain.
46
* http://creativecommons.org/publicdomain/zero/1.0/ */
57

6-
// Tests that type parameters with the `Copy` are implicitly copyable.
7-
88
#![allow(dead_code)]
99

10-
fn can_copy_copy<T:Copy>(v: T) {
10+
fn can_copy_copy<T: Copy>(v: T) {
1111
let _a = v;
1212
let _b = v;
1313
}

0 commit comments

Comments
 (0)