mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +00:00
docs(bevy_render): Remove copy-pasted docstring (#8479)
This line does not appear to be an intended part of the `Panics` section, but instead looks like it was missed when copy-pasting a `Panics` section from above. It confused me when I was reading the docs. At first I read it as if it was an imperative statement saying not to use `match` statements which seemed odd and out of place. Once I saw the code it was clearly in err. # Objective - Cleanup documentation string to reduce end-user confusion.
This commit is contained in:
parent
0a35df13c9
commit
a4323d5641
1 changed files with 0 additions and 1 deletions
|
@ -230,7 +230,6 @@ impl Image {
|
|||
///
|
||||
/// # Panics
|
||||
/// Panics if the size of the `format` is not a multiple of the length of the `pixel` data.
|
||||
/// do not match.
|
||||
pub fn new_fill(
|
||||
size: Extent3d,
|
||||
dimension: TextureDimension,
|
||||
|
|
Loading…
Reference in a new issue