removed duplicated doc line in material.rs (#5405)

# Objective

I've found there is a duplicated line, probably left after some copy paste.

## Solution

- removed it

---



Co-authored-by: adsick <vadimgangsta73@gmail.com>
This commit is contained in:
adsick 2022-07-20 21:39:51 +00:00
parent 01f5f8cbe3
commit 99440c11b3

View file

@ -45,7 +45,6 @@ use crate::{
/// Materials are used alongside [`Material2dPlugin`] and [`MaterialMesh2dBundle`] /// Materials are used alongside [`Material2dPlugin`] and [`MaterialMesh2dBundle`]
/// to spawn entities that are rendered with a specific [`Material2d`] type. They serve as an easy to use high level /// to spawn entities that are rendered with a specific [`Material2d`] type. They serve as an easy to use high level
/// to spawn entities that are rendered with a specific [`Material2d`] type. They serve as an easy to use high level
/// way to render [`Mesh2dHandle`] entities with custom shader logic. /// way to render [`Mesh2dHandle`] entities with custom shader logic.
/// ///
/// Material2ds must implement [`AsBindGroup`] to define how data will be transferred to the GPU and bound in shaders. /// Material2ds must implement [`AsBindGroup`] to define how data will be transferred to the GPU and bound in shaders.