Andres
Andres
Apologies for the long turn around time, life has been a little crazy and this actually ended up being a bit of a mind melt. As it turns out it...
## Implementation Issues (writing for my own sake, no need to read) ### Unsafety For methods such as: ```rust pub fn my_method(&self, a: T) {} ``` My first though for...
I clicked the wrong button, this is definitely not closed.
If possible, this *should* work by switching to using the `impl _` syntax: ```rust pub async fn foo(&self, message: &impl Message + Serialize + Sync) -> Result { // ......
Ah! 🤦🏾♂️ That's totally my bad. I just realized my `impl Trait` solution does not work when doing `&impl Trait`. In theory this should be an easy fix so I...
I have a fix up but I was having issues with releasing yesterday, my plan is to get a release for this today or tomorrow. You can see the updated...
@tv42 I just published a new release that should have this fix. Try it out and let me know! (:
custom closure was added: `from_fn!`: https://github.com/nrxus/faux/commit/a209091037a58cb10b9452148a3bfb7a10340a74
Ah! I tried explaining that in [the docs](https://docs.rs/faux/0.1.2/faux/macro.when.html#examples-1) but it looks like it was either confusing or hard to find. For your specific use case, to ignore arguments you can...
Good call, I'll be explicit about the `when` syntax on each matcher function, or at least link to it. Thanks!