diff --git a/src/changelog/mod.rs b/src/changelog/mod.rs index c4900cf..3cd41a0 100644 --- a/src/changelog/mod.rs +++ b/src/changelog/mod.rs @@ -24,10 +24,7 @@ impl Changelog { }, }; let git_log = Self::make_git_log(cfg)?; - Ok(Changelog { - message, - git_log, - }) + Ok(Changelog { message, git_log }) } fn make_git_log(cfg: &Config) -> Result> { diff --git a/src/lib.rs b/src/lib.rs index 2dcf561..46700fe 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,3 @@ +pub mod changelog; pub mod config; pub mod error; -pub mod changelog;