mirror of
https://github.com/facebook/sapling.git
synced 2024-12-29 08:02:24 +03:00
fix compilation warning
Summary: I got unused warning every time I build Mononoke. Reviewed By: singhsrb Differential Revision: D18573764 fbshipit-source-id: 23921f581bdc74655041a2413f80cb159b4ba010
This commit is contained in:
parent
0bab8ac4b2
commit
bcfbc5c19e
@ -24,6 +24,7 @@ use crate::{
|
||||
#[derive(Clone)]
|
||||
pub struct EdenApiRemoteStore(Arc<Box<dyn EdenApi>>);
|
||||
|
||||
#[cfg(test)]
|
||||
impl EdenApiRemoteStore {
|
||||
pub fn new(edenapi: Box<dyn EdenApi>) -> Self {
|
||||
Self(Arc::new(edenapi))
|
||||
|
Loading…
Reference in New Issue
Block a user