From 99738119b7f113ef9fc0f12af3f94c3c6bd17793 Mon Sep 17 00:00:00 2001 From: John Turner Date: Mon, 1 Dec 2025 11:29:09 -0500 Subject: update docs --- src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 83eb741..1845df7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -58,7 +58,7 @@ //!``` //!#### Getters on Copy types: //!``` -//! use get::GetCopy; +//! use get::Get; //! //! #[derive(Clone, Copy, Get)] //! struct NonZeroUInt( @@ -88,16 +88,16 @@ //! //! All supported name value pairs: //! * `method` (this sets the name of the getter method) +//! * `kind` (this sets the kind of getter, the supported getter kinds are listed below) //! //! All supported idents are: //! * `hide` (this will disable getters for a specific field) //! -//! All supported getter kinds are: +//! All supported getter kinds are (ref is the default): //! * `ref` //! * `copy` -//! * `as_ref` //! * `deref` -//! +//! //! # Todos //! * detect and return error for fields with conflicting attributes //! * improve error output, include span information if possible -- cgit v1.2.3