diff options
author | bors-servo <servo-ops@mozilla.com> | 2022-08-06 07:20:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-06 07:20:18 -0400 |
commit | 9c6847a387cb515bd73336cf1439c942a33a0758 (patch) | |
tree | 3c2dced21f2bd7e0c36354918499ac3fab2919ed /components/net_traits/filemanager_thread.rs | |
parent | 9c41c14649a8b42f81e6bd9ce76a546d9767c8e9 (diff) | |
parent | 3e5cd8815da2ef649658e45f949e29308d1bb853 (diff) | |
download | servo-9c6847a387cb515bd73336cf1439c942a33a0758.tar.gz servo-9c6847a387cb515bd73336cf1439c942a33a0758.zip |
Auto merge of #28910 - teymour-aldridge:clippy, r=jdm
Fix some Clippy lints.
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
<!-- Either: -->
- [ ] These changes do not require tests because they do not change the behaviour of the code
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Diffstat (limited to 'components/net_traits/filemanager_thread.rs')
-rw-r--r-- | components/net_traits/filemanager_thread.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/net_traits/filemanager_thread.rs b/components/net_traits/filemanager_thread.rs index e89a282fa39..50eb0ded238 100644 --- a/components/net_traits/filemanager_thread.rs +++ b/components/net_traits/filemanager_thread.rs @@ -57,7 +57,7 @@ impl RelativePos { pub fn from_opts(start: Option<i64>, end: Option<i64>) -> RelativePos { RelativePos { start: start.unwrap_or(0), - end: end, + end, } } |