add comment

This commit is contained in:
yggverse 2025-01-15 07:35:11 +02:00
parent dfe3495461
commit e5e3f9956a

View File

@ -13,6 +13,7 @@ impl Feature {
// Constructors // Constructors
/// Parse new `Self` from string /// Parse new `Self` from string
/// * holds related with parsed feature data
pub fn from_string(request: &str) -> Self { pub fn from_string(request: &str) -> Self {
if let Some(postfix) = request.strip_prefix("download:") { if let Some(postfix) = request.strip_prefix("download:") {
return Self::Download { return Self::Download {