mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
Fix some minor clippy lints from the future
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
///
|
||||
/// - If you just want to be able to load `file://` and `http://` URIs, enable the `all_loaders` feature.
|
||||
/// - The supported set of image formats is configured by adding the [`image`](https://crates.io/crates/image)
|
||||
/// crate as your direct dependency, and enabling features on it:
|
||||
/// crate as your direct dependency, and enabling features on it:
|
||||
///
|
||||
/// ```toml,ignore
|
||||
/// egui_extras = { version = "*", features = ["all_loaders"] }
|
||||
|
||||
@@ -439,7 +439,7 @@ impl<'a> TableBuilder<'a> {
|
||||
}
|
||||
|
||||
/// Reset all column widths.
|
||||
pub fn reset(&mut self) {
|
||||
pub fn reset(&self) {
|
||||
let state_id = self.ui.id().with(self.id_salt);
|
||||
TableState::reset(self.ui, state_id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user