From 27d00055df8691a6bd99aaf38633a7338b16cc6a Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 11 Jul 2026 16:33:05 +0900 Subject: chore: use fully-qualified name for Rc/RefCell --- crates/shirabe/src/command/archive_command.rs | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'crates/shirabe/src/command/archive_command.rs') diff --git a/crates/shirabe/src/command/archive_command.rs b/crates/shirabe/src/command/archive_command.rs index 741847a7..2a099c89 100644 --- a/crates/shirabe/src/command/archive_command.rs +++ b/crates/shirabe/src/command/archive_command.rs @@ -28,14 +28,12 @@ use shirabe_external_packages::symfony::console::command::command::Command; use shirabe_external_packages::symfony::console::input::InputInterface; use shirabe_external_packages::symfony::console::output::OutputInterface; use shirabe_php_shim::{LogicException, get_debug_type}; -use std::cell::RefCell; -use std::rc::Rc; #[derive(Debug)] pub struct ArchiveCommand { base_command_data: BaseCommandData, /// For testing only: partial-mock seam mirroring PHPUnit `onlyMethods(['initialize', 'archive'])`. - test_hooks: RefCell, + test_hooks: std::cell::RefCell, } /// For testing only: records and stubs for the `ArchiveCommand` partial-mock seam. @@ -70,7 +68,7 @@ impl ArchiveCommand { pub fn new() -> Self { let command = ArchiveCommand { base_command_data: BaseCommandData::new(None), - test_hooks: RefCell::new(ArchiveCommandTestHooks::default()), + test_hooks: std::cell::RefCell::new(ArchiveCommandTestHooks::default()), }; command .configure() @@ -104,8 +102,8 @@ impl Command for ArchiveCommand { fn execute( &self, - input: Rc>, - output: Rc>, + input: std::rc::Rc>, + output: std::rc::Rc>, ) -> anyhow::Result { let composer = self.try_composer(None, None); @@ -206,8 +204,8 @@ impl Command for ArchiveCommand { fn initialize( &self, - input: Rc>, - output: Rc>, + input: std::rc::Rc>, + output: std::rc::Rc>, ) -> anyhow::Result<()> { if self.test_hooks.borrow().skip_initialize { return Ok(()); -- cgit v1.3.1