Skip to content

Commit

Permalink
add a doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Jan 5, 2022
1 parent 00042ce commit f4cec9d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/bevy_asset/src/assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,9 @@ pub trait AddAsset {
}

impl AddAsset for App {
/// Add an [`Asset`] to the [`App`].
///
/// Adding the same [`Asset`] several time is idempotent.
fn add_asset<T>(&mut self) -> &mut Self
where
T: Asset,
Expand Down

0 comments on commit f4cec9d

Please sign in to comment.