mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
Bug 1872920 - Fix building mozwer-rust for rust version 1.69.0 a=diannaS
Differential Revision: https://phabricator.services.mozilla.com/D203050
This commit is contained in:
parent
b695e83618
commit
53afb15c73
@ -41,7 +41,11 @@ impl ProcessReader {
|
||||
let name = self.get_module_name(module);
|
||||
// Crude way of mimicking Windows lower-case comparisons but
|
||||
// sufficient for our use-cases.
|
||||
name.is_some_and(|name| name.eq_ignore_ascii_case(module_name))
|
||||
if let Some(name) = name {
|
||||
name.eq_ignore_ascii_case(module_name)
|
||||
} else {
|
||||
false
|
||||
}
|
||||
})
|
||||
.find_map(|&module| {
|
||||
self.get_module_info(module).and_then(|info| {
|
||||
|
Loading…
Reference in New Issue
Block a user