File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
but-rebase/src/graph_rebase Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ impl GraphExt for Graph {
237237
238238impl SuccessfulRebase {
239239 /// Converts a SuccessfulRebase back into another editor for multi-step operations
240- pub fn to_editor ( self ) -> Editor {
240+ pub fn into_editor ( self ) -> Editor {
241241 Editor {
242242 graph : self . graph ,
243243 initial_references : self . initial_references ,
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ pub(crate) mod function {
9292 editor. replace ( source_selector, Step :: new_pick ( new_source_commit_id) ) ?;
9393
9494 // Rebase and get potentially rebased destination commit
95- let mut editor = editor. rebase ( ) ?. to_editor ( ) ;
95+ let mut editor = editor. rebase ( ) ?. into_editor ( ) ;
9696 let ( _, rebased_destination_commit) =
9797 editor. find_selectable_commit ( destination_selector) ?;
9898 let destination_tree_id = {
You can’t perform that action at this time.
0 commit comments