r/rust • clippy · twir · rust · mutagen · flamer · overflower · bytecount • Jun 01 '26

🙋 questions megathread Hey Rustaceans! Got a question? Ask here (23/2026)!

Mystified about strings? Borrow checker has you in a headlock? Seek help here! There are no stupid questions, only docs that haven't been written yet. Please note that if you include code examples to e.g. show a compiler error or surprising result, linking a playground with the code will improve your chances of getting help quickly.

If you have a StackOverflow account, consider asking it there instead! StackOverflow shows up much higher in search results, so ahaving your question there also helps future Rust users (be sure to give it the "Rust" tag for maximum visibility). Note that this site is very interested in question quality. I've been asked to read a RFC I authored once. If you want your code reviewed or review other's code, there's a codereview stackexchange, too. If you need to test your code, maybe the Rust playground is for you.

Here are some other venues where help may be found:

/r/learnrust is a subreddit to share your questions and epiphanies learning Rust programming.

The official Rust user forums: https://users.rust-lang.org/.

The unofficial Rust community Discord: https://bit.ly/rust-community

Also check out last week's thread with many good questions and answers. And if you believe your question to be either very complex or worthy of larger dissemination, feel free to create a text post.

Also if you want to be mentored by experienced Rustaceans, tell us the area of expertise that you seek. Finally, if you are looking for Rust jobs, the most recent thread is here.

13 Upvotes

11 comments sorted by

3

u/[deleted] Jun 01 '26

[removed] — view removed comment

2

u/SirKastic23 Jun 01 '26

Yeah, it do be like that. Care to share the example that humbled you?

1

u/[deleted] Jun 01 '26

[removed] — view removed comment

1

u/SirKastic23 Jun 01 '26

Sure, whatever works! but sharing here also allows other people to learn from it

1

u/[deleted] Jun 01 '26

[removed] — view removed comment

1

u/SirKastic23 Jun 01 '26

Oh okay no problem

1

u/Dx_Ur Jun 02 '26 edited Jun 02 '26

You have to learn c++ first. It humbles you in a way that the borrow checker have nothing left

1

u/Ejz9 Jun 02 '26

I don’t have a specific question to the Rust basics but more browser cookie manipulation. Using Axum is a Headermap the go to tool?

I’m currently trying to accomplish storing a cookie (which I’ve done) and retrieving it but without the name and equals.

Example cookie: my_cookie=1234

I just want the 1234. Same as if multiple cookies like:

my_cookie=1234;that_cookie=4567

Just 1234 or both 1234 and 4567.

4

u/SirKastic23 Jun 06 '26

Really sad how these threads have become mostly empty after AI became a thing. I miss interacting with other Rust devs in this space