diff --git a/gdnative-derive/src/lib.rs b/gdnative-derive/src/lib.rs index 2644ee15a..f0c3fad16 100644 --- a/gdnative-derive/src/lib.rs +++ b/gdnative-derive/src/lib.rs @@ -674,7 +674,7 @@ pub fn godot_wrap_method(input: TokenStream) -> TokenStream { /// ``` /// use gdnative::prelude::*; /// -/// #[derive(Debug, PartialEq, Clone, Copy, Export)] +/// #[derive(Debug, PartialEq, Clone, Copy, Export, ToVariant, FromVariant)] /// enum Dir { /// Up = 1, /// Down = -1,