mirror of
https://github.com/kmc7468/cs220.git
synced 2025-12-16 06:58:45 +00:00
Correct minor typos (#14)
* fix: Correct minor typo - relase -> release * fix: Correct minor typos - farenheit, farhenheit -> fahrenheit - celcius -> celsius * fix: Correct minor typo - sume -> sum
This commit is contained in:
@@ -8,11 +8,11 @@
|
||||
|
||||
use std::ops::Mul;
|
||||
|
||||
const FARHENHEIT_OFFSET: f64 = 32.0;
|
||||
const FARHENHEIT_SCALE: f64 = 5.0 / 9.0;
|
||||
const FAHRENHEIT_OFFSET: f64 = 32.0;
|
||||
const FAHRENHEIT_SCALE: f64 = 5.0 / 9.0;
|
||||
|
||||
/// Converts Farenheit to Celcius temperature degree.
|
||||
pub(crate) fn farhenheit_to_celcius(degree: f64) -> f64 {
|
||||
/// Converts Fahrenheit to Celsius temperature degree.
|
||||
pub(crate) fn fahrenheit_to_celsius(degree: f64) -> f64 {
|
||||
todo!()
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ pub(crate) fn capitalize(input: String) -> String {
|
||||
todo!()
|
||||
}
|
||||
|
||||
/// Returns the sume of the given array. (We assume the absence of integer overflow.)
|
||||
/// Returns the sum of the given array. (We assume the absence of integer overflow.)
|
||||
pub(crate) fn sum_array(input: &[u64]) -> u64 {
|
||||
todo!()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user