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/advisory/auditor.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'crates/shirabe/src/advisory') diff --git a/crates/shirabe/src/advisory/auditor.rs b/crates/shirabe/src/advisory/auditor.rs index 402483c7..32e34380 100644 --- a/crates/shirabe/src/advisory/auditor.rs +++ b/crates/shirabe/src/advisory/auditor.rs @@ -18,8 +18,6 @@ use shirabe_php_shim::{ DATE_ATOM, InvalidArgumentException, PhpMixed, array_all, array_any, array_key_exists, array_keys, array_reduce, get_class, sprintf, str_starts_with, }; -use std::cell::RefCell; -use std::rc::Rc; /// Shape of the `--format=json` audit output. #[derive(serde::Serialize)] @@ -115,7 +113,7 @@ impl Auditor { #[allow(clippy::too_many_arguments, reason = "to keep PHP signature")] pub fn audit( &self, - io: &Rc>, + io: &std::rc::Rc>, repo_set: &RepositorySet, packages: Vec, format: &str, @@ -428,7 +426,7 @@ impl Auditor { /// @param self::FORMAT_* $format The format that will be used to output audit results. fn output_advisories( &self, - io: &Rc>, + io: &std::rc::Rc>, advisories: &IndexMap>, format: &str, ) -> anyhow::Result<()> { @@ -528,7 +526,7 @@ impl Auditor { /// @param array> $advisories fn output_advisories_plain( &self, - io: &Rc>, + io: &std::rc::Rc>, advisories: &IndexMap>, ) -> anyhow::Result<()> { let mut error: Vec = vec![]; @@ -575,7 +573,7 @@ impl Auditor { /// @param self::FORMAT_PLAIN|self::FORMAT_TABLE $format fn output_abandoned_packages( &self, - io: &Rc>, + io: &std::rc::Rc>, packages: &[CompletePackageInterfaceHandle], format: &str, ) -> anyhow::Result<()> { -- cgit v1.3.1