1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 05: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

@@ -232,7 +232,7 @@ pub enum HardwareAcceleration {
/// Do NOT use graphics acceleration.
///
/// On some platforms (MacOS) this is ignored and treated the same as [`Self::Preferred`].
/// On some platforms (macOS) this is ignored and treated the same as [`Self::Preferred`].
Off,
}
@@ -518,10 +518,10 @@ pub enum WebGlContextOption {
/// Force use WebGL2.
WebGl2,
/// Use WebGl2 first.
/// Use WebGL2 first.
BestFirst,
/// Use WebGl1 first
/// Use WebGL1 first
CompatibilityFirst,
}