Skip to content

Commit 7c69abf

Browse files
authored
Merge pull request #1259 from Turbo87/defaults
Remove unnecessary module declarations
2 parents 4b53d24 + 4d1485f commit 7c69abf

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ version = "0.1.0"
44
authors = ["The Rust Project Developers"]
55
edition = "2021"
66

7-
[[bin]]
8-
name = "blog"
9-
path = "src/blog.rs"
10-
117
[dependencies]
128
color-eyre = "=0.6.2"
139
eyre = "=0.6.12"

src/blog.rs renamed to src/bin/blog.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
#[path = "lib.rs"]
2-
mod lib;
3-
41
pub fn main() -> eyre::Result<()> {
52
color_eyre::install()?;
63

7-
lib::main()?;
4+
blog::main()?;
85

96
println!(
107
"blog has been generated; you can now serve its content by running\n\

0 commit comments

Comments
 (0)