Thiago Machado
Thiago Machado
Note: reviewing the fix code, I think the it's still not correct because ultimately every different index may have it's own index diff that precedent removals may have interfered with...
Another note to add is that although the status quo (`main`) code doesn't fail on the second test (`test_add_grad_decreasing_idx_r2`), I think it removes the wrong dimension. This would happen because...
On the PR I've simplified the test, added another test and then added a draft fix
@frol nice! I also took it from @H34D haha I'll be subscribing to it
[This SO answer](https://stackoverflow.com/a/67460724) has a good snippet for downloading wasm files from accounts, as we could see that `near` and `testnet` contracts would output: ``` send claim create_account_and_claim create_account on_account_created...
I see, the usage of structural records as return types? On a first thought, it would be ambiguous, I suppose: ```rust pub fn insert(&mut self, k: K, v: V) ->...
@scottmcm I expect the name to be used implicitly on the function body. I think that the documentation regarding the output is still needed, but to have named outputs on...
(This is a off-topic to this feature request, and is just a note): If both of these features were added - the named return and the optional/alternative tuple syntax -...
I've uploaded a draft proc-macro which implements some of the suggested functionality (currently only the initial declaration): - https://crates.io/crates/named_return But I couldn't make it work with proc-macro-attr. I'm not sure...
For druid I did some exploration, in case you're interested: https://github.com/linebender/druid/issues/1135. - I concluded that druid-enums (https://github.com/linebender/druid/issues/1135#issuecomment-716332150) was better; - There was also a comparison to switcher (https://github.com/linebender/druid/issues/1135#issuecomment-827673747); - I...