mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-30 13:04:13 +00:00
implement Default
trait, remove Clone
derive
This commit is contained in:
parent
d9fea7becd
commit
e4118e1feb
@ -3,7 +3,6 @@ const DOWNLOAD: &str = "download:";
|
|||||||
const SOURCE: &str = "source:";
|
const SOURCE: &str = "source:";
|
||||||
|
|
||||||
/// Feature wrapper for client `Request`
|
/// Feature wrapper for client `Request`
|
||||||
#[derive(Clone)]
|
|
||||||
pub enum Feature {
|
pub enum Feature {
|
||||||
Default,
|
Default,
|
||||||
Download,
|
Download,
|
||||||
@ -38,3 +37,9 @@ impl Feature {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Default for Feature {
|
||||||
|
fn default() -> Self {
|
||||||
|
Feature::Default
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user