Remove doc(hidden) attribute that is being phased out

warning: `#[doc(hidden)]` is ignored on trait impl items
       --> serde/src/de/impls.rs:796:5
        |
    796 |     #[doc(hidden)]
        |     ^^^^^^^^^^^^^^ help: remove this attribute
        |
        = note: `#[warn(unused_attributes)]` on by default
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
This commit is contained in:
David Tolnay 2022-05-09 21:16:13 -07:00
parent 3921b57435
commit 2eed86cd67
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -793,7 +793,6 @@ where
T::deserialize(deserializer).map(Some)
}
#[doc(hidden)]
fn __private_visit_untagged_option<D>(self, deserializer: D) -> Result<Self::Value, ()>
where
D: Deserializer<'de>,