Skip to content

Commit

Permalink
[oximeter] spell "Celsius" correctly (#6426)
Browse files Browse the repository at this point in the history
Thanks to @elaine-oxide for catching this --- I had misspelt "Celsius"
as "Celcius" and it had made it all the way into the CLI thanks to its
dependency on the Nexus API.

This commit corrects the misspelling.
  • Loading branch information
hawkw authored Aug 23, 2024
1 parent 9ac0744 commit 41d36d7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion openapi/nexus.json
Original file line number Diff line number Diff line change
Expand Up @@ -19934,7 +19934,7 @@
"nanoseconds",
"volts",
"amps",
"degrees_celcius"
"degrees_celsius"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions oximeter/schema/src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -512,8 +512,8 @@ fn quote_units(units: Units) -> TokenStream {
}
Units::Amps => quote! { ::oximeter::schema::Units::Amps },
Units::Volts => quote! { ::oximeter::schema::Units::Volts },
Units::DegreesCelcius => {
quote! { ::oximeter::schema::Units::DegreesCelcius }
Units::DegreesCelsius => {
quote! { ::oximeter::schema::Units::DegreesCelsius }
}
Units::Rpm => quote! { ::oximeter::schema::Units::Rpm },
}
Expand Down
2 changes: 1 addition & 1 deletion oximeter/types/src/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ pub enum Units {
Nanoseconds,
Volts,
Amps,
DegreesCelcius,
DegreesCelsius,
/// Rotations per minute.
Rpm,
}
Expand Down

0 comments on commit 41d36d7

Please sign in to comment.