1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 04:40:03 -04:00

Fix some clippy warning from Rust 1.78.0 (#4444)

This commit is contained in:
Emil Ernerfeldt
2024-05-02 17:04:25 +02:00
committed by GitHub
parent c9b24d5a5c
commit ded8dbd45b
21 changed files with 37 additions and 72 deletions

View File

@@ -453,9 +453,9 @@ pub struct Galley {
/// `rect.top()` is always 0.0.
///
/// With [`LayoutJob::halign`]:
/// * [`Align::LEFT`]: rect.left() == 0.0
/// * [`Align::Center`]: rect.center() == 0.0
/// * [`Align::RIGHT`]: rect.right() == 0.0
/// * [`Align::LEFT`]: `rect.left() == 0.0`
/// * [`Align::Center`]: `rect.center() == 0.0`
/// * [`Align::RIGHT`]: `rect.right() == 0.0`
pub rect: Rect,
/// Tight bounding box around all the meshes in all the rows.