From a600acb4f59f4e444918becd758a7e3a80aa80ee Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Sun, 24 Jul 2022 03:16:55 +0200 Subject: [PATCH] docs: fix broken doc links (#1497) --- ethers-solc/src/artifact_output/configurable.rs | 4 ++-- ethers-solc/src/lib.rs | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ethers-solc/src/artifact_output/configurable.rs b/ethers-solc/src/artifact_output/configurable.rs index 7958a211..7d4fb06c 100644 --- a/ethers-solc/src/artifact_output/configurable.rs +++ b/ethers-solc/src/artifact_output/configurable.rs @@ -5,8 +5,8 @@ //! `ConfigurableArtifacts` populates a single `Artifact`, the `ConfigurableArtifact`, by default //! with essential entries only, such as `abi`, `bytecode`,..., but may include additional values //! based on its `ExtraOutputValues` that maps to various objects in the solc contract output, see -//! also: [`OutputSelection`](crate::artifacts::OutputSelection). In addition to that some output -//! values can also be emitted as standalone files. +//! also: [`OutputSelection`](crate::artifacts::output_selection::OutputSelection). In addition to +//! that some output values can also be emitted as standalone files. use crate::{ artifacts::{ diff --git a/ethers-solc/src/lib.rs b/ethers-solc/src/lib.rs index 8d98713b..55238466 100644 --- a/ethers-solc/src/lib.rs +++ b/ethers-solc/src/lib.rs @@ -1,4 +1,6 @@ #![deny(rustdoc::broken_intra_doc_links)] +#![allow(rustdoc::private_intra_doc_links)] + pub mod artifacts; pub mod sourcemap; @@ -279,7 +281,7 @@ impl Project { } /// Convenience function to compile a series of solidity files with the project's settings. - /// Same as [`Self::svm_compile()`] but with the given `files` as input. + /// Same as [`Self::compile()`] but with the given `files` as input. /// /// # Example /// @@ -310,7 +312,7 @@ impl Project { } /// Convenience function to compile only (re)compile files that match the provided [FileFilter]. - /// Same as [`Self::svm_compile()`] but with only with those files as input that match + /// Same as [`Self::compile()`] but with only with those files as input that match /// [FileFilter::is_match()]. /// /// # Example - Only compile Test files