aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/downloader/hg_downloader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/downloader/hg_downloader.rs')
-rw-r--r--crates/shirabe/src/downloader/hg_downloader.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/shirabe/src/downloader/hg_downloader.rs b/crates/shirabe/src/downloader/hg_downloader.rs
index 68a84535..e555ccf5 100644
--- a/crates/shirabe/src/downloader/hg_downloader.rs
+++ b/crates/shirabe/src/downloader/hg_downloader.rs
@@ -13,15 +13,15 @@ use crate::util::Filesystem;
use crate::util::Hg as HgUtils;
use crate::util::ProcessExecutor;
use indexmap::IndexMap;
-use shirabe_php_shim::{PhpMixed, RuntimeException};
-
-shirabe_php_shim::impl_php_class!(HgDownloader, r"Composer\Downloader\HgDownloader");
+use shirabe_php_shim::{PhpMixed, RuntimeException, impl_php_class};
#[derive(Debug)]
pub struct HgDownloader {
inner: VcsDownloaderBase,
}
+impl_php_class!(HgDownloader, r"Composer\Downloader\HgDownloader");
+
impl HgDownloader {
pub fn new(
io: std::rc::Rc<std::cell::RefCell<dyn IOInterface>>,