Version update +Formating

This commit is contained in:
William Davis 2024-01-02 23:09:33 -05:00
parent d61e8aefc3
commit df49c60121
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "ftoc"
version = "1.0.0"
version = "1.0.1"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -9,10 +9,10 @@ fn convert(temp: f64) -> f64 {
fn main() {
println!("Fahrenheit to Celsius converter");
println!("Type press \"ctrl+c\" to end the program");
println!("Press \"^C\" to end the program");
loop {
let mut input = String::new();
println!("Please input the temperature in Fahrenheit");
println!("Please input the temperature in Fahrenheit:");
io::stdin()
.read_line(&mut input)
.expect("Failed to read line");