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
This commit is contained in:
Niklas Eicker 2023-10-17 19:58:35 +02:00 committed by GitHub
parent 2df90d2bc2
commit 6b070b1776
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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),
}