Skip to content

Commit 286623e

Browse files
authored
Merge pull request #390 from evnu/remove-dummy-variant
Remove DUMMY variant from ErlNifCharEncoding
2 parents 502dedd + 81a8c3f commit 286623e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

rustler_sys/src/rustler_sys_api.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ pub enum ErlNifResourceFlags {
187187
#[repr(C)]
188188
pub enum ErlNifCharEncoding {
189189
ERL_NIF_LATIN1 = 1,
190-
DUMMY = 999, // prevents "univariant enum" compile error
191190
}
192191

193192
/// See [ErlNifPid](http://www.erlang.org/doc/man/erl_nif.html#ErlNifPid) in the Erlang docs.

0 commit comments

Comments
 (0)