We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0a501b commit af1097fCopy full SHA for af1097f
crates/bevy_editor/src/project/mod.rs
@@ -129,12 +129,7 @@ pub fn run_project(project: &ProjectInfo) -> std::io::Result<()> {
129
.current_dir(&project.path)
130
.args(["-c", "cargo run"])
131
.spawn()
132
- .map_err(|error| {
133
- std::io::Error::new(
134
- std::io::ErrorKind::Other,
135
- format!("Failed to run project: {}", error),
136
- )
137
- })?;
+ .map_err(|error| std::io::Error::other(format!("Failed to run project: {}", error)))?;
138
139
info!("Project started successfully");
140
Ok(())
0 commit comments