diff --git a/cargo-near/src/commands/build/actions/non_reproducible_wasm/mod.rs b/cargo-near/src/commands/build/actions/non_reproducible_wasm/mod.rs index c44ede0c..d7c718c9 100644 --- a/cargo-near/src/commands/build/actions/non_reproducible_wasm/mod.rs +++ b/cargo-near/src/commands/build/actions/non_reproducible_wasm/mod.rs @@ -8,10 +8,10 @@ pub struct BuildOpts { /// /// Running with `--locked` will fail, if /// 1. the contract's crate doesn't have a Cargo.lock file, - /// which locks in place the versions of all of the contract's dependencies (and, recursively, dependencies of dependencies ...) - /// or + /// which locks in place the versions of all of the contract's dependencies + /// (and, recursively, dependencies of dependencies ...), or /// 2. if it has Cargo.lock file, but it needs to be updated (happens if Cargo.toml manifest was updated) - /// This just passes `--locked` to all downstream `cargo` commands being called. + /// This just passes `--locked` to all downstream `cargo` commands being called. #[interactive_clap(long)] #[interactive_clap(verbatim_doc_comment)] pub locked: bool, @@ -24,12 +24,12 @@ pub struct BuildOpts { pub no_release: bool, /// Do not generate ABI for the contract, which is generated by default /// - /// More info about near ABI can be found here: https://github.com/near/abi. + /// More info about near ABI can be found here: [near/ABI](https://github.com/near/abi). /// Default build runs in a few steps: /// 1. runs the equivalent of `cargo near abi`, generating a `*.json` file. /// 2. compresses `*.json` obtained in step (1.) into `*.zst` file. /// 3. runs `cargo build --target wasm32-unknown-unknown` and embeds `*.zst` file from step (2.) - /// into contract's result `*.wasm` file at the same time. + /// into contract's result `*.wasm` file at the same time. /// /// Specifying the flag results in only step (3.) being run without embedding any `*.zst` with ABI data. #[interactive_clap(verbatim_doc_comment)] @@ -37,7 +37,7 @@ pub struct BuildOpts { pub no_abi: bool, /// Generates `*.json` ABI file but does NOT embed it into the contract's result `*.wasm` binary /// - /// More info about near ABI can be found here: https://github.com/near/abi. + /// More info about near ABI can be found here: [near/ABI](https://github.com/near/abi). #[interactive_clap(verbatim_doc_comment)] #[interactive_clap(long)] pub no_embed_abi: bool, @@ -45,7 +45,7 @@ pub struct BuildOpts { /// /// Specifying this flag results in not including human-readable documentation strings /// parsed from source code into ABI. - /// More info about near ABI can be found here: https://github.com/near/abi. + /// More info about near ABI can be found here: [near/ABI](https://github.com/near/abi). #[interactive_clap(verbatim_doc_comment)] #[interactive_clap(long)] pub no_doc: bool,