Commit 0862bc7 1 parent f2fd76e commit 0862bc7 Copy full SHA for 0862bc7
File tree 2 files changed +2
-7
lines changed
nutype_macros/src/common/gen
2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 1
1
### v0.x.x - 2025-xx-xx
2
- * ** [ FEATURE] ** Ability to instantiate types in ` const ` context, when declared with ` const_fn ` flag.
2
+ - ** [ FEATURE] ** Ability to instantiate types in ` const ` context, when declared with ` const_fn ` flag.
3
+ - ** [ BREAKING] ** Fallible ` ::new() ` constructor is removed (was deprecated in 0.4.3).
3
4
4
5
### v0.5.1 - 2024-12-20
5
6
Original file line number Diff line number Diff line change @@ -316,12 +316,6 @@ pub trait GenerateNewtype {
316
316
// scope imported with `use super::*`.
317
317
#fn_sanitize
318
318
#fn_validate
319
-
320
- // TODO: Remove in 0.5.0
321
- #[ deprecated( since="0.4.3" , note="\n Use `try_new` instead." ) ]
322
- pub fn new( raw_value: #input_type) -> :: core:: result:: Result <Self , #error_type_path> {
323
- Self :: try_new( raw_value)
324
- }
325
319
}
326
320
)
327
321
}
You can’t perform that action at this time.
0 commit comments