diff --git a/git-cliff-core/src/embed.rs b/git-cliff-core/src/embed.rs index c4b18275cb..0cf2d29ee2 100644 --- a/git-cliff-core/src/embed.rs +++ b/git-cliff-core/src/embed.rs @@ -30,7 +30,7 @@ impl EmbeddedConfig { /// /// [`Config`]: Config pub fn parse() -> Result { - Ok(toml::from_str(&Self::get_config()?)?) + Config::parse_from_str(&Self::get_config()?) } }