Closed vsuryamurthy closed 1 year ago
This PR contains shorthand initialization for struct members (https://rust-lang.github.io/rfcs/1682-field-init-shorthand.html) and removes the windows workaround for is_dir() as it has been fixed.
I find the shorthand initialization cleaner. However, there might be a reason for not having it and I am curious to hear your opinion.
It looks like this needs rustfmt run on it?
rustfmt
I missed a space, fixed it now.
Edit: I think I need to fix more things. On it :)
This PR contains shorthand initialization for struct members (https://rust-lang.github.io/rfcs/1682-field-init-shorthand.html) and removes the windows workaround for is_dir() as it has been fixed.
I find the shorthand initialization cleaner. However, there might be a reason for not having it and I am curious to hear your opinion.