diff options
author | Nora <nora.widdecke@tu-bs.de> | 2019-06-19 23:17:09 +0200 |
---|---|---|
committer | Nora <nora.widdecke@tu-bs.de> | 2019-06-19 23:17:09 +0200 |
commit | 1d1b2d566a511dee3a1eda694b052f76b5f03c66 (patch) | |
tree | b24d8db6160bcd02d2693f6256cc196a0b322c5a | |
parent | 5f20431b9f774941ff81a7edddb5fdc640eee708 (diff) |
cleanup
-rw-r--r-- | src/actions/select.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/actions/select.rs b/src/actions/select.rs index 9cbbca4..05161e2 100644 --- a/src/actions/select.rs +++ b/src/actions/select.rs @@ -38,16 +38,6 @@ impl SelectFilters { impl SelectFilterFrom { fn is_bucket_before(&self, bucketname: &str) -> bool { - // cargo check && cargo build are fine, - // cargo test gives this error: - // error[E0277]: can't compare `str` with `std::string::String` - //--> src/actions/select.rs:47:59 - //| - //| self.bucket.as_ref().map_or(true, |bucket| bucketname < bucket) - //| ^ no implementation for `str < std::string::String` and `str > std::string::String` - //| - //= help: the trait `std::cmp::PartialOrd<std::string::String>` is not implemented for `str` - //= note: required because of the requirements on the impl of `std::cmp::PartialOrd<&std::string::String>` for `&str` self.bucket.as_ref().map_or(false, |bucket| bucketname < bucket.as_str()) } } |