1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 15:13:12 -04:00

Add to semicolons to silence clippy

This commit is contained in:
Emil Ernerfeldt
2023-11-01 17:01:03 +01:00
parent 9b32dd7fb5
commit a57a3d03e9

View File

@@ -1141,7 +1141,7 @@ impl Context {
///
/// This will repaint the current viewport
pub fn request_repaint(&self) {
self.request_repaint_for(self.viewport_id())
self.request_repaint_for(self.viewport_id());
}
/// Call this if there is need to repaint the UI, i.e. if you are showing an animation.
@@ -1187,7 +1187,7 @@ impl Context {
///
/// This repaints the current viewport
pub fn request_repaint_after(&self, duration: std::time::Duration) {
self.request_repaint_after_for(duration, self.viewport_id())
self.request_repaint_after_for(duration, self.viewport_id());
}
/// Request repaint after at most the specified duration elapses.