diff --git a/rustify_derive/README.md b/rustify_derive/README.md new file mode 100644 index 0000000..8589b9f --- /dev/null +++ b/rustify_derive/README.md @@ -0,0 +1,5 @@ +Provides a derive macro for easily implementing an `Endpoint` from the +[rustify][1] crate. See the documentation for `rustify` for details on how +to use this macro. + +[1]: https://docs.rs/rustify/ \ No newline at end of file diff --git a/rustify_derive/src/lib.rs b/rustify_derive/src/lib.rs index adc23cf..cec9e01 100644 --- a/rustify_derive/src/lib.rs +++ b/rustify_derive/src/lib.rs @@ -267,7 +267,7 @@ fn endpoint_derive(s: synstructure::Structure) -> proc_macro2::TokenStream { // Generate query function let query = gen_query(&field_attrs); - // Gather data + // Generate data let data = match gen_data(&field_attrs) { Ok(v) => v, Err(e) => return e.into_tokens(),