Skip to content

Commit d7a35ec

Browse files
typo: s/StatelessBindGroupSate/StatelessBindGroupState/ (#5810)
1 parent c4a8f03 commit d7a35ec

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

wgpu-core/src/track/mod.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ use thiserror::Error;
115115

116116
pub(crate) use buffer::{BufferBindGroupState, BufferTracker, BufferUsageScope};
117117
use metadata::{ResourceMetadata, ResourceMetadataProvider};
118-
pub(crate) use stateless::{StatelessBindGroupSate, StatelessTracker};
118+
pub(crate) use stateless::{StatelessBindGroupState, StatelessTracker};
119119
pub(crate) use texture::{
120120
TextureBindGroupState, TextureSelector, TextureTracker, TextureUsageScope,
121121
};
@@ -447,17 +447,17 @@ impl<T: ResourceUses> fmt::Display for InvalidUse<T> {
447447
pub(crate) struct BindGroupStates<A: HalApi> {
448448
pub buffers: BufferBindGroupState<A>,
449449
pub textures: TextureBindGroupState<A>,
450-
pub views: StatelessBindGroupSate<resource::TextureView<A>>,
451-
pub samplers: StatelessBindGroupSate<resource::Sampler<A>>,
450+
pub views: StatelessBindGroupState<resource::TextureView<A>>,
451+
pub samplers: StatelessBindGroupState<resource::Sampler<A>>,
452452
}
453453

454454
impl<A: HalApi> BindGroupStates<A> {
455455
pub fn new() -> Self {
456456
Self {
457457
buffers: BufferBindGroupState::new(),
458458
textures: TextureBindGroupState::new(),
459-
views: StatelessBindGroupSate::new(),
460-
samplers: StatelessBindGroupSate::new(),
459+
views: StatelessBindGroupState::new(),
460+
samplers: StatelessBindGroupState::new(),
461461
}
462462
}
463463

wgpu-core/src/track/stateless.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ type Pair<T> = (Id<<T as Resource>::Marker>, Arc<T>);
2222

2323
/// Stores all the resources that a bind group stores.
2424
#[derive(Debug)]
25-
pub(crate) struct StatelessBindGroupSate<T: Resource> {
25+
pub(crate) struct StatelessBindGroupState<T: Resource> {
2626
resources: Mutex<Vec<Pair<T>>>,
2727
}
2828

29-
impl<T: Resource> StatelessBindGroupSate<T> {
29+
impl<T: Resource> StatelessBindGroupState<T> {
3030
pub fn new() -> Self {
3131
Self {
3232
resources: Mutex::new(rank::STATELESS_BIND_GROUP_STATE_RESOURCES, Vec::new()),

0 commit comments

Comments
 (0)