Skip to content

Commit 6aab6f0

Browse files
committed
clippy fixes
1 parent 7924df0 commit 6aab6f0

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

crates/bevy_mod_scripting_functions/src/namespaced_register.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ use bevy::{
33
reflect::GetTypeRegistration,
44
};
55
use bevy_mod_scripting_core::bindings::function::script_function::{
6-
AppScriptFunctionRegistry, DynamicScriptFunction, GetFunctionTypeDependencies,
7-
GetInnerTypeDependencies, ScriptFunction, ScriptFunctionRegistry,
6+
AppScriptFunctionRegistry, DynamicScriptFunction, GetFunctionTypeDependencies, ScriptFunction,
7+
ScriptFunctionRegistry,
88
};
99
use std::{any::TypeId, borrow::Cow, marker::PhantomData};
1010

crates/languages/bevy_mod_scripting_lua/tests/lua_tests.rs

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,27 @@
11
use bevy::{
22
app::App,
3-
asset::{AssetPlugin, AssetServer},
4-
prelude::{AppTypeRegistry, Children, Entity, HierarchyPlugin, Parent, World},
3+
asset::AssetPlugin,
4+
prelude::{Children, Entity, HierarchyPlugin, Parent, World},
55
reflect::{Reflect, TypeRegistration},
6-
MinimalPlugins,
76
};
87
use bevy_mod_scripting_core::{
98
bindings::{
109
access_map::ReflectAccessId, pretty_print::DisplayWithWorld, script_value::ScriptValue,
11-
ReflectAllocator, ReflectReference, ScriptTypeRegistration, WorldAccessGuard,
12-
WorldCallbackAccess,
10+
ScriptTypeRegistration, WorldAccessGuard,
1311
},
1412
context::ContextLoadingSettings,
1513
error::ScriptError,
1614
event::CallbackLabel,
17-
script::ScriptId,
1815
};
1916
use bevy_mod_scripting_functions::ScriptFunctionsPlugin;
2017
use bevy_mod_scripting_lua::{
21-
bindings::{
22-
reference::LuaReflectReference,
23-
world::{GetWorld, LuaWorld},
24-
},
18+
bindings::{reference::LuaReflectReference, world::GetWorld},
2519
lua_context_load, lua_handler,
26-
prelude::{Lua, LuaFunction, LuaHookTriggers},
20+
prelude::{Lua, LuaFunction},
2721
LuaScriptingPlugin,
2822
};
2923
use libtest_mimic::{Arguments, Failed, Trial};
3024
use std::{
31-
any::TypeId,
3225
borrow::Cow,
3326
fs::{self, DirEntry},
3427
io, panic,

0 commit comments

Comments
 (0)