diff options
Diffstat (limited to 'crates/shirabe/src/downloader/perforce_downloader.rs')
| -rw-r--r-- | crates/shirabe/src/downloader/perforce_downloader.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crates/shirabe/src/downloader/perforce_downloader.rs b/crates/shirabe/src/downloader/perforce_downloader.rs index 74b2155b..9d4ff2a3 100644 --- a/crates/shirabe/src/downloader/perforce_downloader.rs +++ b/crates/shirabe/src/downloader/perforce_downloader.rs @@ -15,12 +15,7 @@ use crate::util::Perforce; use crate::util::PerforceInterface; use crate::util::ProcessExecutor; use indexmap::IndexMap; -use shirabe_php_shim::PhpMixed; - -shirabe_php_shim::impl_php_class!( - PerforceDownloader, - r"Composer\Downloader\PerforceDownloader" -); +use shirabe_php_shim::{PhpMixed, impl_php_class}; #[derive(Debug)] pub struct PerforceDownloader { @@ -28,6 +23,11 @@ pub struct PerforceDownloader { pub(crate) perforce: std::cell::RefCell<Option<Box<dyn PerforceInterface>>>, } +impl_php_class!( + PerforceDownloader, + r"Composer\Downloader\PerforceDownloader" +); + impl PerforceDownloader { pub fn new( io: std::rc::Rc<std::cell::RefCell<dyn IOInterface>>, |
