Allow intra doc link resolution failures, because they actually succeed when they need to but rust doesnt know

This commit is contained in:
Rukai committed 2020-06-24 22:20:22 +10:00
1 parent 29e286bdc1
commit 8137934739
1 file changed
+6
+6
View File
@@ -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};