From 813793473945f253660eeb58dde6988fc3d1b1be Mon Sep 17 00:00:00 2001 From: Rukai Date: Wed, 24 Jun 2020 22:17:16 +1000 Subject: [PATCH] Allow intra doc link resolution failures, because they actually succeed when they need to but rust doesnt know --- wgpu-types/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index 52b9235b9..dd78f820f 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -2,6 +2,12 @@ * 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/. */ +// The intra doc links to the wgpu crate in this crate actually succesfully link to the types in the wgpu crate, when built from the wgpu crate. +// However when building from both the wgpu crate or this crate cargo doc will claim all the links cannot be resolved +// despite the fact that it works fine when it needs to. +// So we just disable those warnings. +#![allow(intra_doc_link_resolution_failure)] + #[cfg(feature = "serde")] use serde::{Deserialize, Serialize};