Skip to content

Commit

Permalink
Fix copy/paste error in formats.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
crsaracco authored Sep 1, 2019
1 parent e4bcb2f commit 9d2137c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions amethyst_assets/src/formats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use crate::Format;
use amethyst_error::{format_err, Error, ResultExt};
use serde::{Deserialize, Serialize};

/// Format for loading from Ron files. Mostly useful for prefabs.
/// Format for loading from RON files. Mostly useful for prefabs.
/// This type cannot be used for tagged deserialization.
/// It is meant to be used at top-level loading, manually specified to the loader.
/// ```rust,ignore
Expand Down Expand Up @@ -32,7 +32,7 @@ where
}
}

/// Format for loading from Ron files. Mostly useful for prefabs.
/// Format for loading from JSON files. Mostly useful for prefabs.
/// This type can only be used as manually specified to the loader.
#[derive(Clone, Copy, Debug, Serialize, Deserialize)]
pub struct JsonFormat;
Expand Down

0 comments on commit 9d2137c

Please sign in to comment.