Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/but-rebase/src/graph_rebase/creation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ impl GraphExt for Graph {

impl SuccessfulRebase {
/// Converts a SuccessfulRebase back into another editor for multi-step operations
pub fn to_editor(self) -> Editor {
pub fn into_editor(self) -> Editor {
Editor {
graph: self.graph,
initial_references: self.initial_references,
Expand Down
2 changes: 1 addition & 1 deletion crates/but-workspace/src/commit/move_changes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pub(crate) mod function {
editor.replace(source_selector, Step::new_pick(new_source_commit_id))?;

// Rebase and get potentially rebased destination commit
let mut editor = editor.rebase()?.to_editor();
let mut editor = editor.rebase()?.into_editor();
let (_, rebased_destination_commit) =
editor.find_selectable_commit(destination_selector)?;
let destination_tree_id = {
Expand Down
Loading