Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cowlicks committed Sep 26, 2024
1 parent 978614d commit 6fd4162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ impl Hyperbee {
Self::from_tree(Tree::from_ram().await?)
}

/// Helper for creating a [`Hyperbee`] from a [`Hypercore`]
/// Helper for creating a [`Hyperbee`] from a [`hypercore::Hypercore`]
pub fn from_hypercore<T: Into<SharedCore>>(hypercore: T) -> Result<Self, HyperbeeError> {
Self::from_tree(Tree::from_hypercore(hypercore)?)
}
Expand Down

0 comments on commit 6fd4162

Please sign in to comment.