--- a/rust/hg-core/src/revlog/manifest.rs Sat Jan 30 18:30:11 2021 +0800
+++ b/rust/hg-core/src/revlog/manifest.rs Mon Jan 25 11:48:47 2021 +0100
@@ -1,6 +1,6 @@
use crate::repo::Repo;
use crate::revlog::revlog::{Revlog, RevlogError};
-use crate::revlog::NodePrefixRef;
+use crate::revlog::NodePrefix;
use crate::revlog::Revision;
use crate::utils::hg_path::HgPath;
@@ -20,7 +20,7 @@
/// Return the `ManifestEntry` of a given node id.
pub fn get_node(
&self,
- node: NodePrefixRef,
+ node: NodePrefix,
) -> Result<ManifestEntry, RevlogError> {
let rev = self.revlog.get_node_rev(node)?;
self.get_rev(rev)