mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Fixed mismatched type error
This commit is contained in:
parent
f80ae3402a
commit
8c39e968cd
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ impl BinaryOrPlaintextClassifier {
|
|||
}
|
||||
impl MIMEChecker for BinaryOrPlaintextClassifier {
|
||||
fn classify(&self, data: &[u8]) -> Option<(String, String)> {
|
||||
return as_string_option(self.classify_impl(data));
|
||||
return as_string_option(Some(self.classify_impl(data)));
|
||||
}
|
||||
}
|
||||
struct GroupedClassifier {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue