Skip to content

Commit

Permalink
Merge pull request #390 from evnu/remove-dummy-variant
Browse files Browse the repository at this point in the history
Remove DUMMY variant from ErlNifCharEncoding
  • Loading branch information
filmor authored Oct 8, 2021
2 parents 502dedd + 81a8c3f commit 286623e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rustler_sys/src/rustler_sys_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ pub enum ErlNifResourceFlags {
#[repr(C)]
pub enum ErlNifCharEncoding {
ERL_NIF_LATIN1 = 1,
DUMMY = 999, // prevents "univariant enum" compile error
}

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

0 comments on commit 286623e

Please sign in to comment.