aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/io/console_io.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-07-11 16:33:05 +0900
committernsfisis <nsfisis@gmail.com>2026-07-11 16:33:05 +0900
commit27d00055df8691a6bd99aaf38633a7338b16cc6a (patch)
tree4af17ccff5f8c2d09156fa62c559e60e3e683dac /crates/shirabe/src/io/console_io.rs
parent1ec2220def43e37e5a65b96dde93c19b493258f4 (diff)
downloadphp-shirabe-27d00055df8691a6bd99aaf38633a7338b16cc6a.tar.gz
php-shirabe-27d00055df8691a6bd99aaf38633a7338b16cc6a.tar.zst
php-shirabe-27d00055df8691a6bd99aaf38633a7338b16cc6a.zip
chore: use fully-qualified name for Rc/RefCell
Diffstat (limited to 'crates/shirabe/src/io/console_io.rs')
-rw-r--r--crates/shirabe/src/io/console_io.rs13
1 files changed, 6 insertions, 7 deletions
diff --git a/crates/shirabe/src/io/console_io.rs b/crates/shirabe/src/io/console_io.rs
index eb7ab317..fe796d9e 100644
--- a/crates/shirabe/src/io/console_io.rs
+++ b/crates/shirabe/src/io/console_io.rs
@@ -27,7 +27,6 @@ use shirabe_php_shim::{
PhpMixed, array_search, function_exists, implode, in_array, is_array, is_string,
mb_check_encoding, mb_convert_encoding, microtime, str_repeat, strip_tags, strlen,
};
-use std::cell::RefCell;
/// The Input/Output helper.
#[derive(Debug)]
@@ -41,10 +40,10 @@ pub struct ConsoleIO {
/// `$this->helperSet->get('question')` on every ask. The Application class, which constructs
/// this class, registers a single `QuestionHelper`. So this port holds the `QuestionHelper`
/// directly instead of a `HelperSet`.
- question_helper: RefCell<QuestionHelper>,
+ question_helper: std::cell::RefCell<QuestionHelper>,
- pub(crate) last_message: RefCell<String>,
- pub(crate) last_message_err: RefCell<String>,
+ pub(crate) last_message: std::cell::RefCell<String>,
+ pub(crate) last_message_err: std::cell::RefCell<String>,
start_time: Option<f64>,
verbosity_map: IndexMap<i64, i64>,
@@ -69,9 +68,9 @@ impl ConsoleIO {
authentications: indexmap![],
input,
output,
- question_helper: RefCell::new(question_helper),
- last_message: RefCell::new(String::new()),
- last_message_err: RefCell::new(String::new()),
+ question_helper: std::cell::RefCell::new(question_helper),
+ last_message: std::cell::RefCell::new(String::new()),
+ last_message_err: std::cell::RefCell::new(String::new()),
start_time: None,
verbosity_map,
}