Skip to content

Commit af1097f

Browse files
Fix new clippy lints (#194)
* Thanks clippy * Formatting
1 parent f0a501b commit af1097f

File tree

1 file changed

+1
-6
lines changed
  • crates/bevy_editor/src/project

1 file changed

+1
-6
lines changed

crates/bevy_editor/src/project/mod.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,7 @@ pub fn run_project(project: &ProjectInfo) -> std::io::Result<()> {
129129
.current_dir(&project.path)
130130
.args(["-c", "cargo run"])
131131
.spawn()
132-
.map_err(|error| {
133-
std::io::Error::new(
134-
std::io::ErrorKind::Other,
135-
format!("Failed to run project: {}", error),
136-
)
137-
})?;
132+
.map_err(|error| std::io::Error::other(format!("Failed to run project: {}", error)))?;
138133

139134
info!("Project started successfully");
140135
Ok(())

0 commit comments

Comments
 (0)