aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/util/perforce.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/util/perforce.rs')
-rw-r--r--crates/shirabe/src/util/perforce.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/src/util/perforce.rs b/crates/shirabe/src/util/perforce.rs
index 9c68cc9..10c426f 100644
--- a/crates/shirabe/src/util/perforce.rs
+++ b/crates/shirabe/src/util/perforce.rs
@@ -829,7 +829,7 @@ impl Perforce {
pub fn get_filesystem(&mut self) -> &std::rc::Rc<std::cell::RefCell<Filesystem>> {
if self.filesystem.is_none() {
self.filesystem = Some(std::rc::Rc::new(std::cell::RefCell::new(Filesystem::new(
- Some(std::rc::Rc::clone(&self.process)),
+ Some(self.process.clone()),
))));
}