Donough Liu

Results 49 comments of Donough Liu

https://github.com/rust-lang/rust-clippy/issues/8538 This one can also be replaced with `mem::take + into_iter`. 🤔 I didn't suggest it automatically due to the hardness of ownership checking and otherwise usage checking. So false...

Please try `file /data/data/com.termux/files/usr/lib/libstdc++.a` and `ls -al /data/data/com.termux/files/usr/lib/libstdc++.a` then put the command line output here. It looks like it's not an archive file.

> /data/data/com.termux/files/usr/lib/libstdc++.a: ASCII text This shows that your libstdc++.a is a text file rather than a valid archive. There is something wrong with Termux 🤔

It seems that CI failure is caused by `check-cfg` https://github.com/rust-lang/cargo/actions/runs/8964218728/job/24615675343?pr=13863 Related: https://github.com/rust-lang/cargo/pull/13571

Yeah, the root cause is the same. Bug behaviour differs though.

> What exactly is doing math on the constants useful for? Enums defined as bitflags are widely used in FFmpeg, [e.g.](https://github.com/FFmpeg/FFmpeg/blob/8e23ebe6f971ec4177be73b453960d83c264b7b5/libavutil/vulkan_functions.h#L29), you need to do math on them for sure....

Mostly done, add more tests later.

I also suffered from not being able to sign in to Zed (yeah, China). I get `Authentication Successful` in the browser, but always get authentication timeout in the Zed editor...

Thanks for your information. I'll enhance the doc later.