Skip to content

Commit e23fc79

Browse files
committed
silence some style warning
1 parent 3db6ec3 commit e23fc79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/run-pass/issue-5917.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111

1212
struct T (&'static [isize]);
13-
static t : T = T (&[5, 4, 3]);
13+
static STATIC : T = T (&[5, 4, 3]);
1414
pub fn main () {
15-
let T(ref v) = t;
15+
let T(ref v) = STATIC;
1616
assert_eq!(v[0], 5);
1717
}

0 commit comments

Comments
 (0)