diff --git a/README.md b/README.md index 33182da6..be3956d9 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Some common use cases are: * Skip serializing all empty `Option` types with [`#[skip_serializing_none]`][skip_serializing_none]. * Apply a prefix to each field name of a struct, without changing the de/serialize implementations of the struct using [`with_prefix!`][]. * Deserialize a comma separated list like `#hash,#tags,#are,#great` into a `Vec`. - Check the documentation for [`serde_with::rust::StringWithSeparator::`][StringWithSeparator]. + Check the documentation for [`serde_with::StringWithSeparator::`][StringWithSeparator]. ### Getting Help @@ -162,7 +162,7 @@ Foo { [`with_prefix!`]: https://docs.rs/serde_with/2.0.0-rc.0/serde_with/macro.with_prefix.html [feature flags]: https://docs.rs/serde_with/2.0.0-rc.0/serde_with/guide/feature_flags/index.html [skip_serializing_none]: https://docs.rs/serde_with/2.0.0-rc.0/serde_with/attr.skip_serializing_none.html -[StringWithSeparator]: https://docs.rs/serde_with/2.0.0-rc.0/serde_with/rust/struct.StringWithSeparator.html +[StringWithSeparator]: https://docs.rs/serde_with/2.0.0-rc.0/serde_with/struct.StringWithSeparator.html [user guide]: https://docs.rs/serde_with/2.0.0-rc.0/serde_with/guide/index.html [with-annotation]: https://serde.rs/field-attrs.html#with [as-annotation]: https://docs.rs/serde_with/2.0.0-rc.0/serde_with/guide/serde_as/index.html diff --git a/serde_with/src/lib.rs b/serde_with/src/lib.rs index cf6350c7..38579c97 100644 --- a/serde_with/src/lib.rs +++ b/serde_with/src/lib.rs @@ -1,6 +1,6 @@ #![warn( clippy::semicolon_if_nothing_returned, - // missing_crate_level_docs, not available in MSRV + missing_crate_level_docs, missing_docs, rust_2018_idioms, trivial_casts, @@ -254,7 +254,7 @@ //! [`with_prefix!`]: https://docs.rs/serde_with/2.0.0-rc.0/serde_with/macro.with_prefix.html //! [feature flags]: https://docs.rs/serde_with/2.0.0-rc.0/serde_with/guide/feature_flags/index.html //! [skip_serializing_none]: https://docs.rs/serde_with/2.0.0-rc.0/serde_with/attr.skip_serializing_none.html -//! [StringWithSeparator]: https://docs.rs/serde_with/2.0.0-rc.0/serde_with/rust/struct.StringWithSeparator.html +//! [StringWithSeparator]: https://docs.rs/serde_with/2.0.0-rc.0/serde_with/struct.StringWithSeparator.html //! [user guide]: https://docs.rs/serde_with/2.0.0-rc.0/serde_with/guide/index.html //! [with-annotation]: https://serde.rs/field-attrs.html#with //! [as-annotation]: https://docs.rs/serde_with/2.0.0-rc.0/serde_with/guide/serde_as/index.html diff --git a/serde_with/src/with_prefix.rs b/serde_with/src/with_prefix.rs index b4b483c9..a37eca55 100644 --- a/serde_with/src/with_prefix.rs +++ b/serde_with/src/with_prefix.rs @@ -141,7 +141,6 @@ macro_rules! with_prefix { }; } -#[allow(missing_debug_implementations)] pub struct WithPrefix<'a, T> { pub delegate: T, pub prefix: &'a str, @@ -516,7 +515,6 @@ where } } -#[allow(missing_debug_implementations)] pub struct WithPrefixOption<'a, T> { first_key: Option, delegate: T, diff --git a/serde_with_macros/src/lib.rs b/serde_with_macros/src/lib.rs index 2b131437..aad3583c 100644 --- a/serde_with_macros/src/lib.rs +++ b/serde_with_macros/src/lib.rs @@ -2,7 +2,7 @@ #![warn( clippy::semicolon_if_nothing_returned, missing_copy_implementations, - // missing_crate_level_docs, not available in MSRV + missing_crate_level_docs, missing_debug_implementations, missing_docs, rust_2018_idioms,