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:
parent
6fd7a6dc0f
commit
41779f60ec
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue