forked from bytecodealliance/wit-bindgen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a newline after
#[cfg(feature = "std")]
.
And add a space before the `{}` in `Error` impls. Instead of this: ```rust #[cfg(feature = "std")]impl std::error::Error for ErrorCode{} ``` Print this: ```rust #[cfg(feature = "std")] impl std::error::Error for ErrorCode {} ``` rustfmt can do this too, but we can be slightly prettier by default.
- Loading branch information
1 parent
1f4ab0f
commit d2e949f
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters