From 6b070b1776c63aa69cc60185e04c293b32e60164 Mon Sep 17 00:00:00 2001 From: Niklas Eicker Date: Tue, 17 Oct 2023 19:58:35 +0200 Subject: [PATCH] Correct Scene loader error description (#10161) # Objective - Correct the description of an error type for the scene loader ## Solution - Correct the description of an error type for the scene loader --- crates/bevy_scene/src/scene_loader.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/bevy_scene/src/scene_loader.rs b/crates/bevy_scene/src/scene_loader.rs index 88d6ca8027fb1..5d1e4de56ade4 100644 --- a/crates/bevy_scene/src/scene_loader.rs +++ b/crates/bevy_scene/src/scene_loader.rs @@ -29,10 +29,10 @@ impl FromWorld for SceneLoader { #[non_exhaustive] #[derive(Debug, Error)] pub enum SceneLoaderError { - /// An [IO](std::io) Error - #[error("Could load shader: {0}")] + /// An [IO Error](std::io::Error) + #[error("Error while trying to read the scene file: {0}")] Io(#[from] std::io::Error), - /// A [RON](ron) Error + /// A [RON Error](ron::error::SpannedError) #[error("Could not parse RON: {0}")] RonSpannedError(#[from] ron::error::SpannedError), }