Skip to content

Commit b28e639

Browse files
committed
Update struct -> enum to fix many warnings
rust-lang/rust#27303
1 parent 33bfb2a commit b28e639

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ use std::os::raw::c_char;
66
use std::ptr;
77

88

9-
struct WtConnection;
10-
struct WtEventHandler;
11-
struct WtSession;
12-
struct WtCursor;
9+
enum WtConnection {}
10+
enum WtEventHandler {}
11+
enum WtSession {}
12+
enum WtCursor {}
1313

1414

1515
#[link(name = "wt_rust_wrap")]

0 commit comments

Comments
 (0)