From 11af3d1286f15d4f300ce7c16fc16368fe2e68fa Mon Sep 17 00:00:00 2001 From: Dzmitry Malyshau Date: Thu, 4 Mar 2021 10:36:16 -0500 Subject: [PATCH] Add license to the memory init tracker --- wgpu-core/src/memory_init_tracker.rs | 4 ++++ wgpu-types/src/lib.rs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/wgpu-core/src/memory_init_tracker.rs b/wgpu-core/src/memory_init_tracker.rs index c153be3906..2453f79399 100644 --- a/wgpu-core/src/memory_init_tracker.rs +++ b/wgpu-core/src/memory_init_tracker.rs @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + use std::ops::Range; #[derive(Debug, Clone, Copy)] diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index 254562b872..e5269978cb 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -2216,7 +2216,7 @@ impl Extent3d { /// This includes padding to the block width and height of the format. /// /// This is the texture extent that you must upload at when uploading to _mipmaps_ of compressed textures. - /// + /// /// ```rust /// # use wgpu_types as wgpu; /// let format = wgpu::TextureFormat::Bc1RgbaUnormSrgb; // 4x4 blocks