Fix deprecation version (core and main crates have different versions..)

This commit is contained in:
Maybe Waffle 2023-02-20 18:45:22 +04:00
parent 48c8f935a5
commit b8f3e0e005

View file

@ -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()
}