From a712c694c994de17a8c16a6034980cd28f772c72 Mon Sep 17 00:00:00 2001 From: Tim Jentzsch Date: Wed, 10 May 2023 11:36:34 +0200 Subject: [PATCH 1/2] Fix unnecessary ::default() call on unit struct Clippy complained about it. --- src/dev.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dev.rs b/src/dev.rs index 7e276649..adda96c5 100644 --- a/src/dev.rs +++ b/src/dev.rs @@ -14,7 +14,7 @@ pub(crate) fn dev_plugin(app: &mut App) { { app.add_plugin(EditorPlugin) .insert_resource(default_editor_controls()) - .add_plugin(FrameTimeDiagnosticsPlugin::default()) + .add_plugin(FrameTimeDiagnosticsPlugin) .add_plugin(DebugLinesPlugin::default()) .fn_plugin(dev_editor_plugin) .add_plugin(LogDiagnosticsPlugin::filtered(vec![])) From 4b493a4d20902d25026001f0c5660574efc51f50 Mon Sep 17 00:00:00 2001 From: Tim Jentzsch Date: Wed, 10 May 2023 11:37:12 +0200 Subject: [PATCH 2/2] Remove extra space from license key in Cargo.toml Not sure if this could cause issues, but better safe than sorry. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index fb386d1f..1765e6d2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ authors = ["Jan Hohenheim "] edition = "2021" name = "foxtrot" version = "0.2.0" -license = "MIT OR Apache-2.0" +license = "MIT OR Apache-2.0" exclude = [ "dist", "build",