mirror of https://github.com/rm-dr/daisy
Minor cleanup
parent
3ae2fc6041
commit
f35aeefeb1
|
@ -112,16 +112,19 @@ impl Function {
|
||||||
"tobase" => {Some(Function::ToBase)},
|
"tobase" => {Some(Function::ToBase)},
|
||||||
|
|
||||||
"toC" => {Some(Function::ToCelsius)},
|
"toC" => {Some(Function::ToCelsius)},
|
||||||
"fromC" => {Some(Function::FromCelsius)},
|
|
||||||
"toF" => {Some(Function::ToFahrenheit)},
|
|
||||||
"fromF" => {Some(Function::FromFahrenheit)},
|
|
||||||
"tocelsius" => {Some(Function::ToCelsius)},
|
"tocelsius" => {Some(Function::ToCelsius)},
|
||||||
"fromcelsius" => {Some(Function::FromCelsius)},
|
|
||||||
"tofahrenheit" => {Some(Function::ToFahrenheit)},
|
|
||||||
"fromfahrenheit" => {Some(Function::FromFahrenheit)},
|
|
||||||
"toCelsius" => {Some(Function::ToCelsius)},
|
"toCelsius" => {Some(Function::ToCelsius)},
|
||||||
|
|
||||||
|
"fromC" => {Some(Function::FromCelsius)},
|
||||||
|
"fromcelsius" => {Some(Function::FromCelsius)},
|
||||||
"fromCelsius" => {Some(Function::FromCelsius)},
|
"fromCelsius" => {Some(Function::FromCelsius)},
|
||||||
|
|
||||||
"toFahrenheit" => {Some(Function::ToFahrenheit)},
|
"toFahrenheit" => {Some(Function::ToFahrenheit)},
|
||||||
|
"tofahrenheit" => {Some(Function::ToFahrenheit)},
|
||||||
|
"toF" => {Some(Function::ToFahrenheit)},
|
||||||
|
|
||||||
|
"fromF" => {Some(Function::FromFahrenheit)},
|
||||||
|
"fromfahrenheit" => {Some(Function::FromFahrenheit)},
|
||||||
"fromFahrenheit" => {Some(Function::FromFahrenheit)},
|
"fromFahrenheit" => {Some(Function::FromFahrenheit)},
|
||||||
_ => None
|
_ => None
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue