resolve_link is of course public

This commit is contained in:
NikVolf 2019-09-07 18:30:57 +03:00
parent ad403f1cca
commit 0bfd1d6b0d
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ pub struct Tree {
}
impl Tree {
fn resolve_link(&self, link: EntryLink) -> Result<IndexedNode, Error> {
pub fn resolve_link(&self, link: EntryLink) -> Result<IndexedNode, Error> {
match link {
EntryLink::Generated(index) => {
let node = self.generated.get(&index).ok_or(Error::ExpectedInMemory(link))?;