From 5936bed72e8e9dc39eb43c94edf54a2e8b3b499a Mon Sep 17 00:00:00 2001 From: bogay Date: Sun, 8 Oct 2023 19:44:02 +0800 Subject: [PATCH] test(Export): derive ToVariant in doctest --- gdnative-derive/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,