From b8f3e0e005bd22a6da3b287b98142bb8ff31230f Mon Sep 17 00:00:00 2001 From: Maybe Waffle Date: Mon, 20 Feb 2023 18:45:22 +0400 Subject: [PATCH] Fix deprecation version (core and main crates have different versions..) --- crates/teloxide-core/src/types/update.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/teloxide-core/src/types/update.rs b/crates/teloxide-core/src/types/update.rs index 67c35862..82a77e78 100644 --- a/crates/teloxide-core/src/types/update.rs +++ b/crates/teloxide-core/src/types/update.rs @@ -125,7 +125,7 @@ impl Update { Some(chat) } - #[deprecated(note = "renamed to `from`", since = "0.13.0")] + #[deprecated(note = "renamed to `from`", since = "0.10.0")] pub fn user(&self) -> Option<&User> { self.from() }