Skip to content

Commit

Permalink
Address review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
sixfold-origami committed Apr 15, 2024
1 parent 4326425 commit 3371e3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions examples/raw_manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,6 @@ impl Manifest for ItemManifest {
// Asset loading can still fail further down the pipeline, which would have to be handled separately.
type ConversionError = std::convert::Infallible;

// Our manifest uses a RON file under the hood.
// Various common formats are supported out-of-the-box; check the [`ManifestFormat`] docs for more details
// and remember to enable the corresponding feature in your `Cargo.toml`!
const FORMAT: ManifestFormat = ManifestFormat::Ron;

fn get(&self, id: Id<Item>) -> Option<&Self::Item> {
Expand Down Expand Up @@ -151,7 +148,7 @@ fn list_available_items(
mut app_exit_events: EventWriter<AppExit>,
) {
for (id, item) in item_manifest.items.iter() {
println!("{:?}: {:?}", id, item);
info!("{:?}: {:?}", id, item);
}

// We are out of here
Expand Down
2 changes: 1 addition & 1 deletion examples/simple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ fn list_available_items(
mut app_exit_events: EventWriter<AppExit>,
) {
for (id, item) in item_manifest.items.iter() {
println!("{:?}: {:?}", id, item);
info!("{:?}: {:?}", id, item);
}

// We are out of here
Expand Down

0 comments on commit 3371e3d

Please sign in to comment.