refactor: changed crate name to snake_case
This commit is contained in:
parent
b241d8f2d1
commit
04c1e93500
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -3,8 +3,8 @@
|
|||||||
version = 3
|
version = 3
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "OverComplicatedCalculator"
|
name = "over_complicated_calculator"
|
||||||
version = "0.1.0"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"thiserror",
|
"thiserror",
|
||||||
]
|
]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "OverComplicatedCalculator"
|
name = "over_complicated_calculator"
|
||||||
version = "0.1.0"
|
version = "1.0.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
use std::io;
|
use std::io;
|
||||||
use std::io::Write;
|
use std::io::Write;
|
||||||
|
|
||||||
use OverComplicatedCalculator::calculate;
|
use over_complicated_calculator::calculate;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
println!("Hi there! Welcome to OverComplicatedCalculator v1.0!");
|
println!("Hi there! Welcome to OverComplicatedCalculator v1.0!");
|
||||||
|
Loading…
Reference in New Issue
Block a user