Skip to content

Commit

Permalink
Merge pull request #3667 from anoma/tomas/fix-rustdoc
Browse files Browse the repository at this point in the history
fix rustdoc issues
  • Loading branch information
mergify[bot] authored Aug 19, 2024
2 parents f5c3b70 + b76ec6c commit 2554724
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ interaction with the protocol.

## 📓 Docs

* dev docs: built from [dev mdBook](./documentation/dev/)
* [User guides](https://docs.namada.net/)
* [Specs](https://specs.namada.net/)
* Rust docs can be built with `cargo doc --open` (add `--no-deps` to only build docs for local crates)

## Warning

Expand Down
3 changes: 1 addition & 2 deletions crates/ethereum_bridge/src/storage/eth_bridge_queries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,7 @@ where
})
}

/// Extension of
/// [`read_consensus_validator_set_addresses_with_stake`](namada_proof_of_stake::pos_queries::storage::read_consensus_validator_set_addresses_with_stake),
/// Extension of [`read_consensus_validator_set_addresses_with_stake`],
/// which additionally returns all Ethereum addresses of some validator.
#[inline]
pub fn get_consensus_eth_addresses<Gov>(
Expand Down
2 changes: 1 addition & 1 deletion crates/sdk/src/masp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ use thiserror::Error;

use crate::error::{Error, QueryError};
use crate::io::{Io, ProgressBar};
pub use crate::masp::shielded_sync::dispatcher::DispatcherCache;
pub use crate::masp::shielded_sync::dispatcher::{Dispatcher, DispatcherCache};
use crate::masp::shielded_sync::utils::MaspClient;
#[cfg(not(target_family = "wasm"))]
pub use crate::masp::shielded_sync::MaspLocalTaskEnv;
Expand Down
2 changes: 2 additions & 0 deletions crates/sdk/src/masp/shielded_sync/dispatcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ pub struct Config<T, I> {
pub shutdown_signal: I,
}

/// Shielded sync message dispatcher.
pub struct Dispatcher<S, M, U, T, I>
where
U: ShieldedUtils,
Expand Down Expand Up @@ -313,6 +314,7 @@ where
T: ProgressBar,
I: ShutdownSignal,
{
/// Run the dispatcher
pub async fn run(
mut self,
start_query_height: Option<BlockHeight>,
Expand Down

0 comments on commit 2554724

Please sign in to comment.