Skip to content

Commit c6b3034

Browse files
committed
Adds README for rustify_derive
1 parent 056f98e commit c6b3034

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

rustify_derive/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Provides a derive macro for easily implementing an `Endpoint` from the
2+
[rustify][1] crate. See the documentation for `rustify` for details on how
3+
to use this macro.
4+
5+
[1]: https://docs.rs/rustify/

rustify_derive/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ fn endpoint_derive(s: synstructure::Structure) -> proc_macro2::TokenStream {
267267
// Generate query function
268268
let query = gen_query(&field_attrs);
269269

270-
// Gather data
270+
// Generate data
271271
let data = match gen_data(&field_attrs) {
272272
Ok(v) => v,
273273
Err(e) => return e.into_tokens(),

0 commit comments

Comments
 (0)