From 3e3c9f60e5b6353bdf13d212bf24da4a8e3c4b9a Mon Sep 17 00:00:00 2001 From: robtfm <50659922+robtfm@users.noreply.github.com> Date: Tue, 5 Sep 2023 01:43:41 +0100 Subject: [PATCH] remove as_slice --- crates/bevy_render/src/render_resource/bind_group_entries.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bevy_render/src/render_resource/bind_group_entries.rs b/crates/bevy_render/src/render_resource/bind_group_entries.rs index d1046ce2b7a4d..5bec21a0935cb 100644 --- a/crates/bevy_render/src/render_resource/bind_group_entries.rs +++ b/crates/bevy_render/src/render_resource/bind_group_entries.rs @@ -13,7 +13,7 @@ use super::{Sampler, TextureView}; /// &BindGroupEntries::with_indexes(( /// (2, &my_sampler), /// (3, my_uniform), -/// )).as_slice(), +/// )), /// ); /// ``` /// @@ -45,7 +45,7 @@ use super::{Sampler, TextureView}; /// &BindGroupEntries::sequential(( /// &my_sampler, /// my_uniform, -/// )).as_slice(), +/// )), /// ); /// ``` ///