Skip to content

Commit 6ac08c4

Browse files
committed
docs(getset): add docstring for Getset derive macro
1 parent 1187abc commit 6ac08c4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "gset"
3-
version = "1.0.2"
3+
version = "1.0.3"
44
authors = ["Andrew Sonin <sonin.cel@yandex.ru>"]
55
description = "A procedural macro for generating the most basic getters and setters on fields."
66
categories = ["development-tools::procedural-macro-helpers"]

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ use syn::{
1313
mod field_attribute_layout;
1414
mod field_attributes;
1515

16+
/// Derives getters and setters.
1617
#[proc_macro_derive(Getset, attributes(getset))]
1718
#[proc_macro_error]
1819
pub fn derive_getset(input: TokenStream) -> TokenStream {

0 commit comments

Comments
 (0)