Use RangeBounds trait for Bytes::slice

- Removes `slice_to` and `slice_from`.
This commit is contained in:
Sean McArthur
2019-06-10 09:39:27 -07:00
parent ed7c7b5c58
commit ac4e8f2fc5
3 changed files with 39 additions and 73 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ matrix:
#
# This job will also build and deploy the docs to gh-pages.
- env: TARGET=x86_64-unknown-linux-gnu
rust: 1.27.0
rust: 1.28.0
after_success:
- |
pip install 'travis-cargo<0.2' --user &&