-
-
Notifications
You must be signed in to change notification settings - Fork 629
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
The return type of SignBuilder is a bug.
impl
as a return type only helps simplify your type signatures
https://doc.rust-lang.org/rust-by-example/trait/impl_trait.html
It will not be a generic thing as you think.
https://stackoverflow.com/questions/52001592/why-can-impl-trait-not-be-used-to-return-multiple-conditional-types
Your project uses tab not space, but the Sign trait implementation is mixed with tab and space here
https://github.com/extrawurst/gitui/blob/5d68ea0e397ea65dce6c8aeb653b1c43918c78e1/asyncgit/src/sync/sign.rs#L122-L134
You don't like a simple and working solution #2047, but implement a buggy trait with unnecessary complexity to force me to follow, or want me to solve your issue for free and in silence.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working