diff options
Diffstat (limited to 'crates/shirabe/tests/common/config_stub.rs')
| -rw-r--r-- | crates/shirabe/tests/common/config_stub.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crates/shirabe/tests/common/config_stub.rs b/crates/shirabe/tests/common/config_stub.rs index bf81462a..656dea60 100644 --- a/crates/shirabe/tests/common/config_stub.rs +++ b/crates/shirabe/tests/common/config_stub.rs @@ -11,8 +11,6 @@ use indexmap::IndexMap; use shirabe::config::Config; use shirabe_php_shim::PhpMixed; -use std::cell::RefCell; -use std::rc::Rc; pub struct ConfigStubBuilder { use_environment: bool, @@ -65,8 +63,8 @@ impl ConfigStubBuilder { config } - pub fn build_shared(self) -> Rc<RefCell<Config>> { - Rc::new(RefCell::new(self.build())) + pub fn build_shared(self) -> std::rc::Rc<std::cell::RefCell<Config>> { + std::rc::Rc::new(std::cell::RefCell::new(self.build())) } } |
