commands: remove some fixed TODOs
This commit is contained in:
@@ -25,7 +25,6 @@ impl Command for ProtocolDisable {
|
||||
return Err(RequestParserError::UnexpectedEOF);
|
||||
}
|
||||
|
||||
// TODO: verify that the features are split by whitespace
|
||||
let features = parts.map(|s| s.to_string()).collect::<Vec<String>>();
|
||||
|
||||
Ok((Request::ProtocolDisable(features), ""))
|
||||
|
||||
@@ -25,7 +25,6 @@ impl Command for ProtocolEnable {
|
||||
return Err(RequestParserError::UnexpectedEOF);
|
||||
}
|
||||
|
||||
// TODO: verify that the features are split by whitespace
|
||||
let features = parts.map(|s| s.to_string()).collect::<Vec<String>>();
|
||||
|
||||
Ok((Request::ProtocolEnable(features), ""))
|
||||
|
||||
@@ -25,7 +25,6 @@ impl Command for TagTypesDisable {
|
||||
return Err(RequestParserError::UnexpectedEOF);
|
||||
}
|
||||
|
||||
// TODO: verify that the tag types are split by whitespace
|
||||
let tag_types = parts.map(|s| s.to_string()).collect::<Vec<String>>();
|
||||
|
||||
Ok((Request::TagTypesDisable(tag_types), ""))
|
||||
|
||||
@@ -25,7 +25,6 @@ impl Command for TagTypesEnable {
|
||||
return Err(RequestParserError::UnexpectedEOF);
|
||||
}
|
||||
|
||||
// TODO: verify that the tag types are split by whitespace
|
||||
let tag_types = parts.map(|s| s.to_string()).collect::<Vec<String>>();
|
||||
|
||||
Ok((Request::TagTypesEnable(tag_types), ""))
|
||||
|
||||
Reference in New Issue
Block a user