[sq] fix typo
This commit is contained in:
parent
8b0468a995
commit
f4000966b3
|
@ -397,7 +397,7 @@ impl DerivationTreeNode {
|
||||||
(*ptr).clone()
|
(*ptr).clone()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get previous link in derivation tree - this is a dervied-from capability.
|
/// Get previous link in derivation tree - this is a derived-from capability.
|
||||||
pub fn try_get_prev(&self) -> Result<CapTableEntry, DerivationTreeError> {
|
pub fn try_get_prev(&self) -> Result<CapTableEntry, DerivationTreeError> {
|
||||||
if self.0.read(CapDerivationNode::Prev) == 0 {
|
if self.0.read(CapDerivationNode::Prev) == 0 {
|
||||||
Err(DerivationTreeError::InvalidPrev)
|
Err(DerivationTreeError::InvalidPrev)
|
||||||
|
|
Loading…
Reference in New Issue