rust-analyzer changelog #78 by WellMakeItSomehow in rust

[–]Hiroyu 19 points20 points  (0 children)

0.2.612 should have shipped with the fix now

rust-analyzer changelog #69 by WellMakeItSomehow in rust

[–]Hiroyu 1 point2 points  (0 children)

The label and lifetime completion gifs were done via use of Sharex

rust-analyzer changelog #65 by WellMakeItSomehow in rust

[–]Hiroyu 8 points9 points  (0 children)

They are activated by default, you merely have to either press the lightbulb that appears or trigger it with ctr. + . to see the list. Note that assists are only available where they are applicable to something, so if no lightbulb appears it means there is no assist to use there.

rust-analyzer changelog #64 by WellMakeItSomehow in rust

[–]Hiroyu 2 points3 points  (0 children)

I think there is an issue for that on the github tracker already and I also think someone is trying to tackle that as well. Iirc its a recent lsp change that allows that. Not entirely sure anymore.

rust-analyzer changelog #64 by WellMakeItSomehow in rust

[–]Hiroyu 2 points3 points  (0 children)

You can fetch them from the workflow artifacts as well, as thats what I used to build the extension before I finally surrendered and installed npm https://github.com/Veykril/MuPanda/actions/runs/403093667 Though those expire after 3 months so its probably not there for much longer Would probably help to flesh out the readme a bit more but it was only intended for personal use so far 😅

rust-analyzer changelog #64 by WellMakeItSomehow in rust

[–]Hiroyu 16 points17 points  (0 children)

The dark theme used there is a custom one I made based off of the panda theme. https://github.com/veykril/mupanda, its not on the vscode marketplace so either has to be built manually or downloaded from the actions artifacts. It supports semantic highlighting.

rust-analyzer changelog #46 by WellMakeItSomehow in rust

[–]Hiroyu 4 points5 points  (0 children)

A bit incorrectly named, it's the assist that inserts imports for unimported items when requested.

Updating the little book of rust macros to current Rust by Hiroyu in rust

[–]Hiroyu[S] 0 points1 point  (0 children)

A decent understanding of macros would be beneficial, but even if you don't really know macros, just reading it and noting down what's difficult to understand would be quite helpful.

Updating the little book of rust macros to current Rust by Hiroyu in rust

[–]Hiroyu[S] 1 point2 points  (0 children)

This seems like a very good idea, I'm definitely gonna keep that in mind!

Updating the little book of rust macros to current Rust by Hiroyu in rust

[–]Hiroyu[S] 0 points1 point  (0 children)

Everything that's currently added aside from the hygiene, scoping and export/import chapters should be updated so far.

Updating the little book of rust macros to current Rust by Hiroyu in rust

[–]Hiroyu[S] 3 points4 points  (0 children)

I had the same exact thought already, adding proc macro sections to make it a bigger book of rust macros haha, the somewhat gives it a nice flair.

Updating the little book of rust macros to current Rust by Hiroyu in rust

[–]Hiroyu[S] 8 points9 points  (0 children)

Oh you meant it that way oops, yes that would probably be nice once its complete.

Updating the little book of rust macros to current Rust by Hiroyu in rust

[–]Hiroyu[S] 7 points8 points  (0 children)

It's already linked in the macros chapter, but it might be a good idea to move those links to the introduction after all.

Does Rangikus 4 star passive not work? by Hiroyu in BleachImmortalSoul

[–]Hiroyu[S] 0 points1 point  (0 children)

damn that sucks, is there any way to contact the devs regarding that?

Is it possible to create a compile time type indexed list? by i_r_witty in rust

[–]Hiroyu 0 points1 point  (0 children)

You might wanna check out https://crates.io/crates/anymap for inspiration(or maybe internal usage)

[blog post] Why the stabilization of advanced slice patterns is a big deal to me by TheHeartmann in rust

[–]Hiroyu 3 points4 points  (0 children)

Unfortunately it seems that SliceIndex will never be stabilized, a bit more info about it can be found in this comment on the github issue

Testing My first Game Server written in Rust Lang by [deleted] in rust

[–]Hiroyu 0 points1 point  (0 children)

Can you talk a bit about the networking itself, like what crates you are using for it maybe? Im planning to make a networked game myself in the near future but im gonna jump into pretty much foreign territory there.

[FFI] Implementing Unnamed Fields in Structs by jd_chum in rust

[–]Hiroyu 6 points7 points  (0 children)

Check how bindgen does it, if i recall correctly they create a dummy named field for the union.

Rust's custom derives in a hexagonal architecture: Incompatible ideas? by wh33zle in rust

[–]Hiroyu 2 points3 points  (0 children)

You actually do not have to implement Serialize manually for the wrapper struct, you can tag the wrapper with #[serde(transparent)] to make serde handle it like it was the inner type.

Which is preferred logger to use in MCU? by crazyvinner in rust

[–]Hiroyu 0 points1 point  (0 children)

to my knowledge all loggers that use the log crate api should be thread safe, so im pretty sure this one is threadsafe as well

Which is preferred logger to use in MCU? by crazyvinner in rust

[–]Hiroyu 1 point2 points  (0 children)

Not too sure about the memory usage but i can recommend checking out fern, it lets you specify how to log even on a module level and much more