Upgrade to Rust 1.86 and bump MSRV to 1.84 (#17171)
<!-- Thank you for contributing to Ruff! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary I decided to disable the new [`needless_continue`](https://rust-lang.github.io/rust-clippy/master/index.html#needless_continue) rule because I often found the explicit `continue` more readable over an empty block or having to invert the condition of an other branch. ## Test Plan `cargo test` --------- Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -31,7 +31,7 @@ pub(crate) fn is_native_module_file_name(module_name: &str, file_name: &Path) ->
|
||||
.is_some_and(is_native_module_file_extension)
|
||||
{
|
||||
return false;
|
||||
};
|
||||
}
|
||||
|
||||
// The file must represent the module name.
|
||||
native_module_name(file_name) == Some(module_name)
|
||||
|
||||
Reference in New Issue
Block a user