Skip to content

Commit 57c146b

Browse files
committed
feat: v1.13.15
1 parent a0a43b3 commit 57c146b

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lombok-macros"
3-
version = "1.13.14"
3+
version = "1.13.15"
44
readme = "README.md"
55
edition = "2024"
66
authors = ["root@ltpp.vip"]

src/cfg/impl.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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,

src/func/impl.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ use crate::*;
33
/// Provides default implementation for FuncType.
44
impl 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),

0 commit comments

Comments
 (0)