added missing docs on FromValue macro

This commit is contained in:
Tim 'Piepmatz' Hesse 2024-06-01 23:45:20 +02:00
parent 1348131387
commit 32571e622d

View File

@ -27,6 +27,9 @@ pub fn derive_into_value(input: TokenStream) -> TokenStream {
TokenStream::from(output)
}
/// Derive macro generating an impl of the trait `FromValue`.
///
/// For further information, see the docs on the trait itself.
#[proc_macro_derive(FromValue)]
#[proc_macro_error]
pub fn derive_from_value(input: TokenStream) -> TokenStream {