diff options
Diffstat (limited to 'crates/shirabe/src/command/search_command.rs')
| -rw-r--r-- | crates/shirabe/src/command/search_command.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/shirabe/src/command/search_command.rs b/crates/shirabe/src/command/search_command.rs index 7149db7..bf68b2d 100644 --- a/crates/shirabe/src/command/search_command.rs +++ b/crates/shirabe/src/command/search_command.rs @@ -75,9 +75,7 @@ impl SearchCommand { let composer = if let Some(c) = self.try_composer(None, None) { c } else { - // TODO(phase-b): clone_box to release self borrow held by get_io. - let io_box = self.get_io().clone(); - self.create_composer_instance(input.clone(), io_box, None, false, None)? + self.create_composer_instance(input.clone(), io.clone(), None, false, None)? }; let composer_ref = crate::command::composer_full(&composer); let local_repo = composer_ref |
