From 8b747ecd72b5e5cc34814ba613369da8f9d66f81 Mon Sep 17 00:00:00 2001 From: Jakub Marcowski <37378746+Chubercik@users.noreply.github.com> Date: Wed, 12 Jun 2024 02:17:14 +0200 Subject: [PATCH] Fix `limit_update_rate`'s deprecation notice --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 6de2336..1782a34 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -528,7 +528,7 @@ impl Window { #[inline] #[deprecated( since = "0.26", - note = "use set_fps_target instead, this function will be removed in the future." + note = "use `set_target_fps` instead, this function will be removed in the future" )] pub fn limit_update_rate(&mut self, time: Option) { self.0.set_rate(time)