mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-17 09:23:05 +00:00
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
|
||||
}
|
||||
|
||||
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) {
|
||||
Some(lf) => *slote = Some(lf),
|
||||
Some(lf) => *slot = Some(lf),
|
||||
_ => return false,
|
||||
}
|
||||
true
|
||||
|
Loading…
Reference in New Issue
Block a user