Skip to content

Commit

Permalink
Correct Scene loader error description (#10161)
Browse files Browse the repository at this point in the history
# Objective

- Correct the description of an error type for the scene loader

## Solution

- Correct the description of an error type for the scene loader
  • Loading branch information
NiklasEi authored Oct 17, 2023
1 parent 2df90d2 commit 6b070b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/bevy_scene/src/scene_loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
}
Expand Down

0 comments on commit 6b070b1

Please sign in to comment.