Rollup merge of #85162 - LingMan:patch-1, r=varkor
Fix typo in variable name All other sibling functions call this variable "slot", so "slote" was most likely a typo.
This commit is contained in:
commit
9ad5c4d8ea
@ -621,9 +621,9 @@ mod parse {
|
|||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
crate fn parse_linker_flavor(slote: &mut Option<LinkerFlavor>, v: Option<&str>) -> bool {
|
crate fn parse_linker_flavor(slot: &mut Option<LinkerFlavor>, v: Option<&str>) -> bool {
|
||||||
match v.and_then(LinkerFlavor::from_str) {
|
match v.and_then(LinkerFlavor::from_str) {
|
||||||
Some(lf) => *slote = Some(lf),
|
Some(lf) => *slot = Some(lf),
|
||||||
_ => return false,
|
_ => return false,
|
||||||
}
|
}
|
||||||
true
|
true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user