forked from mirrors/jj
operation: make parent_ids() return slice instead of Vec reference
This commit is contained in:
parent
5ff9376466
commit
dad890b960
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ impl Operation {
|
|||
&self.id
|
||||
}
|
||||
|
||||
pub fn parent_ids(&self) -> &Vec<OperationId> {
|
||||
pub fn parent_ids(&self) -> &[OperationId] {
|
||||
&self.data.parents
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue