Skip to content

Commit 4796ac3

Browse files
authored
Merge pull request #179 from Horki/test_var_fix
test: VAR; remove unused braces
2 parents 467e47f + 9e2e6e6 commit 4796ac3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ fn test_visibility() {
105105

106106
// This should not cause a warning about a missing Copy implementation
107107
lazy_static! {
108-
pub static ref VAR: i32 = { 0 };
108+
pub static ref VAR: i32 = 0;
109109
}
110110

111111
#[derive(Copy, Clone, Debug, PartialEq)]

0 commit comments

Comments
 (0)