-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(hash_from_stack): Tidy up various things
- Hide implementation details, like struct fields. - Move panics to struct creation, remove from code generation. - Add documentation. Most crucially, document panic conditions. - Eagerly derive trait implementations like `Debug` and `Clone`. - Use preludes. Notably, in test modules: `use crate::test_prelude::*` - In an `impl Trait`, use same member order as in trait's definition. changelog: ignore
- Loading branch information
1 parent
9ba83df
commit 30ff514
Showing
3 changed files
with
67 additions
and
100 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
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
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