File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " lombok-macros"
3- version = " 1.13.14 "
3+ version = " 1.13.15 "
44readme = " README.md"
55edition = " 2024"
66authors = [" root@ltpp.vip" ]
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ impl Default for Cfg {
77 /// # Returns
88 ///
99 /// - `Cfg` - A new `Cfg` instance with default values.
10+ #[ inline( always) ]
1011 fn default ( ) -> Self {
1112 Self {
1213 func_type : FuncType :: Unknown ,
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ use crate::*;
33/// Provides default implementation for FuncType.
44impl Default for FuncType {
55 /// Returns the default value for FuncType, which is Unknown.
6+ #[ inline( always) ]
67 fn default ( ) -> Self {
78 Self :: Unknown
89 }
@@ -22,6 +23,7 @@ impl FromStr for FuncType {
2223 ///
2324 /// - `Result<FuncType, String>`: Ok containing the `FuncType` if parsing is successful,
2425 /// or an Err containing a String error message if parsing fails.
26+ #[ inline( always) ]
2527 fn from_str ( s : & str ) -> Result < FuncType , std:: string:: String > {
2628 match s {
2729 GET => Ok ( FuncType :: Get ) ,
You can’t perform that action at this time.
0 commit comments