mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-27 11:34:14 +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:";
|
||||
|
||||
/// Feature wrapper for client `Request`
|
||||
#[derive(Clone)]
|
||||
pub enum Feature {
|
||||
Default,
|
||||
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