diff --git a/.config/lychee.toml b/.config/lychee.toml index 9a3f9b260221b..7eb444f341680 100644 --- a/.config/lychee.toml +++ b/.config/lychee.toml @@ -69,4 +69,6 @@ exclude = [ # Exclude strings which contain templates like {} and {:?} "%7B%7D", "%7B:\\?}", + # Example ws:// URLs in Rust doc comments incorrectly parsed as file paths by lychee + "file://.*/ws:/node.*", ] diff --git a/substrate/client/rpc-api/src/state/mod.rs b/substrate/client/rpc-api/src/state/mod.rs index ee62387b6bd4b..8445b1a147bee 100644 --- a/substrate/client/rpc-api/src/state/mod.rs +++ b/substrate/client/rpc-api/src/state/mod.rs @@ -281,8 +281,8 @@ pub trait StateApi { /// [querying substrate storage via rpc][3]. /// /// [1]: https://docs.substrate.io/main-docs/fundamentals/state-transitions-and-storage/ - /// [2]: https://www.shawntabrizi.com/blog/substrate/transparent-keys-in-substrate/ - /// [3]: https://www.shawntabrizi.com/blog/substrate/querying-substrate-storage-via-rpc/ + /// [2]: https://www.shawntabrizi.com/blog/transparent-keys-in-substrate/ + /// [3]: https://www.shawntabrizi.com/blog/interacting-with-the-substrate-rpc-endpoint/ /// /// ### Maximum payload size /// diff --git a/substrate/client/statement-store/statement-latency-bench/src/bench.rs b/substrate/client/statement-store/statement-latency-bench/src/bench.rs index b5b7d5fc5e028..7d38bf0834221 100644 --- a/substrate/client/statement-store/statement-latency-bench/src/bench.rs +++ b/substrate/client/statement-store/statement-latency-bench/src/bench.rs @@ -50,7 +50,7 @@ use tokio::{sync::Barrier, time::timeout}; #[command(name = "statement-latency-bench")] #[command(about = "Distributed statement store latency benchmark", long_about = None)] struct Args { - /// Comma-separated list of RPC WebSocket endpoints (e.g., ws://node1:9944,ws://node2:9944) + /// Comma-separated list of RPC WebSocket endpoints (e.g., `ws://node1:9944,ws://node2:9944`) #[arg(long, value_delimiter = ',', required = true)] rpc_endpoints: Vec, diff --git a/substrate/frame/state-trie-migration/src/lib.rs b/substrate/frame/state-trie-migration/src/lib.rs index 83fac5903cff9..c86b3f40ddd46 100644 --- a/substrate/frame/state-trie-migration/src/lib.rs +++ b/substrate/frame/state-trie-migration/src/lib.rs @@ -541,7 +541,7 @@ pub mod pallet { /// - [`frame_support::storage::StorageDoubleMap`]: 96 byte /// /// For more info see - /// + /// #[pallet::constant] #[pallet::no_default]