Skip to content

Commit 335fc85

Browse files
committed
Remove Config::used_option
To be honest, I am not sure if this is correct :(
1 parent 23d23a6 commit 335fc85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ fn format(
318318
// that were used during formatting as TOML.
319319
if let Some(path) = minimal_config_path {
320320
let mut file = File::create(path)?;
321-
let toml = session.config.used_options().to_toml().map_err(err_msg)?;
321+
let toml = session.config.to_toml().map_err(err_msg)?;
322322
file.write_all(toml.as_bytes())?;
323323
}
324324

0 commit comments

Comments
 (0)