Skip to content

Commit 6daff1e

Browse files
tharvikTedDriggs
authored andcommitted
clippy: fix for latest stable
1 parent 1489bca commit 6daff1e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

derive_builder/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@
667667
//! - Tuple structs and unit structs are not supported as they have no field
668668
//! names.
669669
//! - Generic setters introduce a type parameter `VALUE: Into<_>`. Therefore you can't use
670-
//! `VALUE` as a type parameter on a generic struct in combination with generic setters.
670+
//! `VALUE` as a type parameter on a generic struct in combination with generic setters.
671671
//! - The `try_setter` attribute and `owned` builder pattern are not compatible in practice;
672672
//! an error during building will consume the builder, making it impossible to continue
673673
//! construction.

derive_builder_core/src/macro_options/darling_opts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ pub struct BuildFn {
151151
/// * `validation_error = bool` - Whether to generate `ValidationError(String)` as a variant
152152
/// of the build error type. Setting this to `false` will prevent `derive_builder` from
153153
/// using the `validate` function but this also means it does not generate any usage of the
154-
/// `alloc` crate (useful when disabling the `alloc` feature in `no_std`).
154+
/// `alloc` crate (useful when disabling the `alloc` feature in `no_std`).
155155
///
156156
/// # Type Bounds for Custom Error
157157
/// This type's bounds depend on other settings of the builder.

derive_builder_no_alloc_tests/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![no_std]
2-
#![allow(unused, clippy::blacklisted_name)]
2+
#![allow(unused, clippy::disallowed_names)]
33

44
use derive_builder::{self, Builder};
55

0 commit comments

Comments
 (0)