From 9d5b324787af9055027f7784ff0e87dc677f028c Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Tue, 23 May 2023 08:37:11 +0200 Subject: [PATCH] Fix typo in docs Closes https://github.com/emilk/egui/issues/3003 --- crates/egui/src/data/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui/src/data/input.rs b/crates/egui/src/data/input.rs index 6fd20efa4..99ea6ac03 100644 --- a/crates/egui/src/data/input.rs +++ b/crates/egui/src/data/input.rs @@ -16,7 +16,7 @@ pub struct RawInput { /// Position and size of the area that egui should use, in points. /// Usually you would set this to /// - /// `Some(Rect::from_pos_size(Default::default(), screen_size_in_points))`. + /// `Some(Rect::from_min_size(Default::default(), screen_size_in_points))`. /// /// but you could also constrain egui to some smaller portion of your window if you like. ///