Skip to content

Commit 2c50ed6

Browse files
committed
clippy fixes...
1 parent d66e0ba commit 2c50ed6

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

unreal_asset/unreal_asset_base/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#![deny(missing_docs)]
22
#![allow(non_upper_case_globals)]
3+
#![allow(unexpected_cfgs)]
34

45
//! unreal_asset crate base members
56

unreal_asset/unreal_asset_base/src/unversioned/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ impl Usmap {
174174
}
175175

176176
/// Gets all usmap mappings for a given schema
177+
#[allow(elided_named_lifetimes)]
177178
pub fn get_all_properties<'name>(
178179
&'name self,
179180
mut schema_name: &'name str,

unreal_mod_integrator/build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(unexpected_cfgs)]
2+
13
use std::env;
24
use std::fs::{self, OpenOptions};
35
use std::path::{Path, PathBuf};

unreal_mod_manager/src/app.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ impl ModLoaderApp {
439439

440440
// this is just an associated function to avoid upsetting the borrow checker
441441
fn show_version_select(ui: &mut egui::Ui, game_mod: &mut GameMod) {
442-
egui::ComboBox::from_id_source(&game_mod.name)
442+
egui::ComboBox::from_id_salt(&game_mod.name)
443443
.selected_text(format!("{}", game_mod.selected_version))
444444
.width(112.0)
445445
.show_ui(ui, |ui| {
@@ -739,6 +739,7 @@ impl ModLoaderApp {
739739
});
740740
}
741741

742+
#[allow(unused_variables)]
742743
fn show_error(&self, ctx: &egui::Context, frame: &mut Frame, error: &ModLoaderError) {
743744
egui::Window::new("Critical Error")
744745
.resizable(false)

0 commit comments

Comments
 (0)