Skip to content

Commit

Permalink
test(Export): derive ToVariant in doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogay committed Oct 8, 2023
1 parent 217d253 commit 5936bed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdnative-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5936bed

Please sign in to comment.