Skip to content

Commit

Permalink
Fix limit_update_rate's deprecation notice
Browse files Browse the repository at this point in the history
  • Loading branch information
Chubercik authored Jun 12, 2024
1 parent 60bbe43 commit 8b747ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Duration>) {
self.0.set_rate(time)
Expand Down

0 comments on commit 8b747ec

Please sign in to comment.