implement Default trait, remove Clone derive

This commit is contained in:
yggverse 2025-01-18 14:13:46 +02:00
parent d9fea7becd
commit e4118e1feb

View File

@ -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
}
}