Fix some minor documentation inconsistencies

This commit is contained in:
Héctor Ramón Jiménez 2023-01-24 01:59:34 +01:00
parent be860508a9
commit 01c484245b
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
3 changed files with 8 additions and 5 deletions

View file

@ -116,7 +116,7 @@ where
self.overlay.operate(layout, renderer, operation);
}
/// Returns true if the cursor is over the [`Element`]
/// Returns true if the cursor is over the [`Element`].
pub fn is_over(&self, layout: Layout<'_>, cursor_position: Point) -> bool {
self.overlay.is_over(layout, cursor_position)
}