mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
clippy fixes for rust 1.53
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
//! If you want to manipulate RGBA colors use [`Rgba`].
|
||||
//! If you want to manipulate colors in a way closer to how humans think about colors, use [`HsvaGamma`].
|
||||
|
||||
#![allow(clippy::wrong_self_convention)]
|
||||
|
||||
/// This format is used for space-efficient color representation (32 bits).
|
||||
///
|
||||
/// Instead of manipulating this directly it is often better
|
||||
|
||||
@@ -583,6 +583,8 @@ impl Galley {
|
||||
|
||||
#[test]
|
||||
fn test_text_layout() {
|
||||
#![allow(clippy::bool_assert_comparison)]
|
||||
|
||||
impl PartialEq for Cursor {
|
||||
fn eq(&self, other: &Cursor) -> bool {
|
||||
(self.ccursor, self.rcursor, self.pcursor)
|
||||
|
||||
Reference in New Issue
Block a user