mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Enable more clippy lints (#6853)
* Follows https://github.com/emilk/egui/pull/6848
This commit is contained in:
@@ -2,9 +2,9 @@ use egui::load::SizedTexture;
|
||||
use egui::{
|
||||
include_image, Align, Button, Color32, ColorImage, Direction, DragValue, Event, Grid, Layout,
|
||||
PointerButton, Pos2, Response, Slider, Stroke, StrokeKind, TextWrapMode, TextureHandle,
|
||||
TextureOptions, Ui, UiBuilder, Vec2, Widget,
|
||||
TextureOptions, Ui, UiBuilder, Vec2, Widget as _,
|
||||
};
|
||||
use egui_kittest::kittest::{by, Node, Queryable};
|
||||
use egui_kittest::kittest::{by, Node, Queryable as _};
|
||||
use egui_kittest::{Harness, SnapshotResult, SnapshotResults};
|
||||
|
||||
#[test]
|
||||
|
||||
@@ -29,7 +29,7 @@ impl eframe::App for MyTestApp {
|
||||
use glow::HasContext as _;
|
||||
let gl = frame.gl().unwrap();
|
||||
|
||||
#[allow(unsafe_code)]
|
||||
#[expect(unsafe_code)]
|
||||
unsafe {
|
||||
gl.disable(glow::SCISSOR_TEST);
|
||||
gl.viewport(0, 0, 100, 100);
|
||||
|
||||
Reference in New Issue
Block a user