diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index fd88466a9b..3ef3f875e1 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -980,7 +980,7 @@ pub enum BindingResource<'a> { /// Operation to perform to the output attachment at the start of a renderpass. /// -/// The render target must be cleared at least once before it's content be loaded. +/// The render target must be cleared at least once before its content is loaded. #[derive(Copy, Clone, Debug, Hash, Eq, PartialEq)] #[cfg_attr(feature = "trace", derive(serde::Serialize))] #[cfg_attr(feature = "replay", derive(serde::Deserialize))] diff --git a/wgpu/src/util/device.rs b/wgpu/src/util/device.rs index 592205c404..7b6a8400cf 100644 --- a/wgpu/src/util/device.rs +++ b/wgpu/src/util/device.rs @@ -101,7 +101,7 @@ impl DeviceExt for crate::Device { // When uploading mips of compressed textures and the mip is supposed to be // a size that isn't a multiple of the block size, the mip needs to be uploaded - // as it's "physical size" which is the size rounded up to the nearest block size. + // as its "physical size" which is the size rounded up to the nearest block size. let mip_physical = mip_size.physical_size(desc.format); // All these calculations are performed on the physical size as that's the