Skip to content

Commit 4a00d73

Browse files
committed
Work around dead code warning in test
warning: struct `Struct` is never constructed --> tests/test.rs:338:16 | 338 | pub struct Struct { | ^^^^^^ | = note: `#[warn(dead_code)]` on by default
1 parent dba15b5 commit 4a00d73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ pub mod issue17 {
336336
}
337337

338338
pub struct Struct {
339-
string: String,
339+
pub string: String,
340340
}
341341

342342
#[async_trait]

0 commit comments

Comments
 (0)