Skip to content

Commit

Permalink
clippy: fix for latest stable
Browse files Browse the repository at this point in the history
  • Loading branch information
tharvik authored and TedDriggs committed Aug 29, 2024
1 parent 1489bca commit 6daff1e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion derive_builder/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@
//! - Tuple structs and unit structs are not supported as they have no field
//! names.
//! - Generic setters introduce a type parameter `VALUE: Into<_>`. Therefore you can't use
//! `VALUE` as a type parameter on a generic struct in combination with generic setters.
//! `VALUE` as a type parameter on a generic struct in combination with generic setters.
//! - The `try_setter` attribute and `owned` builder pattern are not compatible in practice;
//! an error during building will consume the builder, making it impossible to continue
//! construction.
Expand Down
2 changes: 1 addition & 1 deletion derive_builder_core/src/macro_options/darling_opts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ pub struct BuildFn {
/// * `validation_error = bool` - Whether to generate `ValidationError(String)` as a variant
/// of the build error type. Setting this to `false` will prevent `derive_builder` from
/// using the `validate` function but this also means it does not generate any usage of the
/// `alloc` crate (useful when disabling the `alloc` feature in `no_std`).
/// `alloc` crate (useful when disabling the `alloc` feature in `no_std`).
///
/// # Type Bounds for Custom Error
/// This type's bounds depend on other settings of the builder.
Expand Down
2 changes: 1 addition & 1 deletion derive_builder_no_alloc_tests/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![no_std]
#![allow(unused, clippy::blacklisted_name)]
#![allow(unused, clippy::disallowed_names)]

use derive_builder::{self, Builder};

Expand Down

0 comments on commit 6daff1e

Please sign in to comment.