diff --git a/fyrox-impl/src/scene/dim2/rectangle.rs b/fyrox-impl/src/scene/dim2/rectangle.rs index 221153420..9a5fe050a 100644 --- a/fyrox-impl/src/scene/dim2/rectangle.rs +++ b/fyrox-impl/src/scene/dim2/rectangle.rs @@ -130,8 +130,8 @@ impl Hash for RectangleVertex { /// /// # Flipping /// -/// It is possible to flip the sprite on both axes, vertical and horizontal. Use [`Sprite::set_flip_x`] -/// and [`Sprite::set_flip_y`] methods to flip the sprite on desired axes. +/// It is possible to flip the sprite on both axes, vertical and horizontal. Use [`Rectangle::set_flip_x`] +/// and [`Rectangle::set_flip_y`] methods to flip the sprite on desired axes. /// /// ## Material ///