Unnecessary braces not warned against

let tmp = PathBuf::from(paths_from[0]);
let file_name = (tmp).file_name();//No lint here

Check github if there is an issue for this, if not file an issue

Which repo?

1 Like

Thanks

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.