Skip to content

Commit

Permalink
🐛 fix a result type error
Browse files Browse the repository at this point in the history
  • Loading branch information
ShellWen committed Apr 8, 2024
1 parent a561cf7 commit 1d473a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub(crate) struct Config {
}

pub(crate) trait ReadFromFile {
fn load_from_toml(file_path: &Path) -> Config;
fn load_from_toml(file_path: &Path) -> Self;
}

impl ReadFromFile for Config {
Expand Down

0 comments on commit 1d473a5

Please sign in to comment.