Skip to content

Commit 1f5233a

Browse files
author
Felipe Rosa
committed
chore: Change read_block point type
1 parent f331491 commit 1f5233a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

hermes/.cargo/config.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ rustflags = [
3434
rustflags = [
3535
"-D",
3636
"warnings",
37-
# "-D",
38-
# "missing_docs",
37+
"-D",
38+
"missing_docs",
3939
"-D",
4040
"let_underscore_drop",
4141
"-D",

hermes/crates/cardano-chain-follower/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ impl Reader {
119119
/// # Errors
120120
///
121121
/// Returns Err if the block was not found or if some communication error ocurred.
122-
pub async fn read_block(&mut self, _at: Point) -> Result<MultiEraBlockData> {
122+
pub async fn read_block<P>(&mut self, _at: P) -> Result<MultiEraBlockData>
123+
where P: Into<PointOrTip> {
123124
todo!()
124125
}
125126

0 commit comments

Comments
 (0)