From 850f6e230ecbcdb94d4541e0c7fffc427e571e01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Lescaudey=20de=20Maneville?= Date: Mon, 27 Jun 2022 21:02:28 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Alice Cecile --- crates/bevy_sprite/src/sprite.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bevy_sprite/src/sprite.rs b/crates/bevy_sprite/src/sprite.rs index eb39bca7b6d833..9344d0de62e6e2 100644 --- a/crates/bevy_sprite/src/sprite.rs +++ b/crates/bevy_sprite/src/sprite.rs @@ -24,11 +24,11 @@ pub struct Sprite { /// Component for sprite sheets containing a handle to [`TextureAtlas`] and the index of the current /// section of the sheet. /// -/// A texture atlas contains various *sections* or *cuts* of a given texture, allowing to have a single +/// A texture atlas contains various *sections* or *cuts* of a given texture, allowing users to have a single /// image file for sprite animation or various elements. /// You can change the [`index`](Self::index) of the sheet to animate the sprite or to pick a *section* of the texture. /// -/// You may check the following examples for usage: +/// Check the following examples for usage: /// - [`animated sprite sheet example`](https://github.com/bevyengine/bevy/blob/main/examples/2d/sprite_sheet.rs) /// - [`texture atlas example`](https://github.com/bevyengine/bevy/blob/main/examples/2d/texture_atlas.rs) #[derive(Component, Default, Debug, Clone, Reflect)]