Skip to content

Commit 03b218f

Browse files
committed
feat: v17.3.3
1 parent 7796527 commit 03b218f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hyperlane"
3-
version = "17.3.2"
3+
version = "17.3.3"
44
readme = "README.md"
55
edition = "2024"
66
authors = ["root@ltpp.vip"]
@@ -14,7 +14,7 @@ exclude = ["target", "Cargo.lock", "sh", ".github", "logs", "img", "**/*.log"]
1414
[dependencies]
1515
regex = "1.12.3"
1616
http-type = "17.0.0"
17-
inventory = "0.3.21"
17+
inventory = "0.3.22"
1818
lombok-macros = "2.0.25"
1919
serde = { version = "1.0.228", features = ["derive"] }
2020

src/context/impl.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ impl From<usize> for &'static Context {
141141
}
142142

143143
/// Implementation of `From` trait for converting `usize` address into `&mut Context`.
144-
impl From<usize> for &'static mut Context {
144+
impl<'a> From<usize> for &'a mut Context {
145145
/// Converts a memory address into a mutable reference to `Context`.
146146
///
147147
/// # Arguments
@@ -150,9 +150,9 @@ impl From<usize> for &'static mut Context {
150150
///
151151
/// # Returns
152152
///
153-
/// - `&'static mut Context` - A mutable reference to the `Context` at the given address.
153+
/// - `&mut Context` - A mutable reference to the `Context` at the given address.
154154
#[inline(always)]
155-
fn from(addr: usize) -> &'static mut Context {
155+
fn from(addr: usize) -> &'a mut Context {
156156
unsafe { &mut *(addr as *mut Context) }
157157
}
158158
}

0 commit comments

Comments
 (0)