diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-07-11 16:33:05 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-07-11 16:33:05 +0900 |
| commit | 27d00055df8691a6bd99aaf38633a7338b16cc6a (patch) | |
| tree | 4af17ccff5f8c2d09156fa62c559e60e3e683dac /crates/shirabe/src/config.rs | |
| parent | 1ec2220def43e37e5a65b96dde93c19b493258f4 (diff) | |
| download | php-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/config.rs')
| -rw-r--r-- | crates/shirabe/src/config.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crates/shirabe/src/config.rs b/crates/shirabe/src/config.rs index cac6181e..d1cd4212 100644 --- a/crates/shirabe/src/config.rs +++ b/crates/shirabe/src/config.rs @@ -15,7 +15,6 @@ use shirabe_php_shim::{ is_array, is_string, parse_url, php_to_string, rtrim, strtolower, strtoupper, strtr, substr, trigger_error, }; -use std::cell::RefCell; use crate::advisory::Auditor; use crate::downloader::TransportException; @@ -40,7 +39,7 @@ pub struct Config { warned_hosts: IndexMap<String, bool>, /// @var array<string, true> ssl_verify_warned_hosts: IndexMap<String, bool>, - source_of_config_value: RefCell<IndexMap<String, String>>, + source_of_config_value: std::cell::RefCell<IndexMap<String, String>>, } impl Config { @@ -229,7 +228,7 @@ impl Config { local_auth_config_source: None, warned_hosts: IndexMap::new(), ssl_verify_warned_hosts: IndexMap::new(), - source_of_config_value: RefCell::new(IndexMap::new()), + source_of_config_value: std::cell::RefCell::new(IndexMap::new()), }; let config_clone = this.config.clone(); |
