File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
derive_builder_core/src/macro_options
derive_builder_no_alloc_tests/src Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 667
667
//! - Tuple structs and unit structs are not supported as they have no field
668
668
//! names.
669
669
//! - 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.
671
671
//! - The `try_setter` attribute and `owned` builder pattern are not compatible in practice;
672
672
//! an error during building will consume the builder, making it impossible to continue
673
673
//! construction.
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ pub struct BuildFn {
151
151
/// * `validation_error = bool` - Whether to generate `ValidationError(String)` as a variant
152
152
/// of the build error type. Setting this to `false` will prevent `derive_builder` from
153
153
/// 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`).
155
155
///
156
156
/// # Type Bounds for Custom Error
157
157
/// This type's bounds depend on other settings of the builder.
Original file line number Diff line number Diff line change 1
1
#![ no_std]
2
- #![ allow( unused, clippy:: blacklisted_name ) ]
2
+ #![ allow( unused, clippy:: disallowed_names ) ]
3
3
4
4
use derive_builder:: { self , Builder } ;
5
5
You can’t perform that action at this time.
0 commit comments