Skip to content

Commit

Permalink
Fix some typos (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
striezel authored Jan 15, 2024
1 parent 8ab0d46 commit c936a27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions surfman/src/chains.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//!
//! Each producer context has one *attached* swap chain, whose back buffer is the current surface of the context.
//! The producer may change the attached swap chain, attaching a currently unattached swap chain,
//! and detatching the currently attached one.
//! and detaching the currently attached one.
#![allow(missing_docs)]

Expand Down Expand Up @@ -165,7 +165,7 @@ impl<Device: DeviceAPI> SwapChainData<Device> {
.iter()
.position(|surface| device.surface_info(surface).size == self.size)
.map(|index| {
debug!("Recyling surface for context {:?}", self.context_id);
debug!("Recycling surface for context {:?}", self.context_id);
Ok(self.recycled_surfaces.swap_remove(index))
})
.unwrap_or_else(|| {
Expand Down

0 comments on commit c936a27

Please sign in to comment.