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
|
||||
|
||||
[[package]]
|
||||
name = "OverComplicatedCalculator"
|
||||
version = "0.1.0"
|
||||
name = "over_complicated_calculator"
|
||||
version = "1.0.0"
|
||||
dependencies = [
|
||||
"thiserror",
|
||||
]
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "OverComplicatedCalculator"
|
||||
version = "0.1.0"
|
||||
name = "over_complicated_calculator"
|
||||
version = "1.0.0"
|
||||
edition = "2018"
|
||||
|
||||
# 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::Write;
|
||||
|
||||
use OverComplicatedCalculator::calculate;
|
||||
use over_complicated_calculator::calculate;
|
||||
|
||||
fn main() {
|
||||
println!("Hi there! Welcome to OverComplicatedCalculator v1.0!");
|
||||
|
Loading…
Reference in New Issue
Block a user