diff --git a/Cargo.toml b/Cargo.toml index 7e62393..2b506d7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,7 @@ moka = { version = "0.12.8", optional = true, features = ["future"] } urlencoding = "2.1.3" derive_more = { version = "2.0.1", features = ["full"] } serde_with = { version = "3.11.0" } -warframe-macros = { path = "warframe-macros" , version = "7.0.0" } +warframe-macros = { path = "warframe-macros", version = "7.0.0" } paste = "1.0.15" tracing = "0.1.41" governor = { version = "0.10.0", optional = true } diff --git a/src/worldstate/client.rs b/src/worldstate/client.rs index 813e960..efc35cf 100644 --- a/src/worldstate/client.rs +++ b/src/worldstate/client.rs @@ -252,7 +252,7 @@ impl Client { pub async fn call_on_update(&self, callback: Callback) -> Result<(), Error> where T: TimedEvent + Queryable, - for<'any> Callback: AsyncFn(&'any T, &'any T), + for<'a, 'b> Callback: AsyncFn(&'a T, &'b T), { tracing::debug!("{} (LISTENER) :: Started", std::any::type_name::()); let mut item = self.fetch::().await?; @@ -447,7 +447,7 @@ impl Client { where S: Sized + Send + Sync + Clone, T: TimedEvent + Queryable, - for<'any> Callback: AsyncFn(S, &'any T, &'any T), + for<'a, 'b> Callback: AsyncFn(S, &'a T, &'b T), { let mut item = self.fetch::().await?; diff --git a/warframe-macros/Cargo.toml b/warframe-macros/Cargo.toml index 62321fb..66d11fe 100644 --- a/warframe-macros/Cargo.toml +++ b/warframe-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "warframe-macros" -version = "6.2.0" +version = "7.0.0" edition = "2024" description = "Macros for the `warframe` crate." readme = "../README.md"