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/tests/documentation_test.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'crates/shirabe/tests/documentation_test.rs') diff --git a/crates/shirabe/tests/documentation_test.rs b/crates/shirabe/tests/documentation_test.rs index 7dc049cf..7a13ce1d 100644 --- a/crates/shirabe/tests/documentation_test.rs +++ b/crates/shirabe/tests/documentation_test.rs @@ -3,10 +3,8 @@ use shirabe::console::application::ApplicationHandle; use shirabe_external_packages::symfony::console::command::Command; use shirabe_external_packages::symfony::console::descriptor::application_description::ApplicationDescription; -use std::cell::RefCell; -use std::rc::Rc; -fn get_command_name(command: &Rc>) -> String { +fn get_command_name(command: &std::rc::Rc>) -> String { let mut name = command.borrow().get_name().unwrap_or_default(); for alias in command.borrow().get_aliases() { name = format!("{} / {}", name, alias); @@ -15,7 +13,7 @@ fn get_command_name(command: &Rc>) -> String { name } -fn provide_command_cases() -> Vec>> { +fn provide_command_cases() -> Vec>> { let application = ApplicationHandle::new("Composer".to_string(), "".to_string()).unwrap(); application.set_catch_exceptions(false); -- cgit v1.3.1