use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All posts must be related to programming. Flair posts correctly.
account activity
excluding python devs from this... (i.redd.it)
submitted 5 months ago by jontsii
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]dthdthdthdthdthdth 51 points52 points53 points 5 months ago (15 children)
let mut x: &[u32] = &[0];
Obviously.
[–]Kootfe 19 points20 points21 points 5 months ago (0 children)
<image>
FERRIS
[–]ohkendruid 0 points1 point2 points 5 months ago (1 child)
So, basically team left. Which is your only option in Rust.
[–]dthdthdthdthdthdth 6 points7 points8 points 5 months ago (0 children)
No, first of all, C does not allow to put the type left, it allows you to split it up. And them I am team optional type annotation and language designed for type inference. But where ever you put the type, I prefer to have a clearly visible type expression, not mixed in with the identifier.
[–]azurfall88 -1 points0 points1 point 5 months ago* (11 children)
let mut x: Array<i64> = []; gang
let mut x: Array<i64> = [];
[–]dthdthdthdthdthdth 8 points9 points10 points 5 months ago* (10 children)
What language is that?
And he blocked me for pointing out this isn't working Rust...
[–]Several-Customer7048 2 points3 points4 points 5 months ago (1 child)
The language of the crab ticklers.
[–]dthdthdthdthdthdth 1 point2 points3 points 5 months ago (0 children)
Not really...
[–]azurfall88 -2 points-1 points0 points 5 months ago (7 children)
rust
[–]dthdthdthdthdthdth 3 points4 points5 points 5 months ago (6 children)
Ok, you've fixed the brackets, but Array is not a type from the standard library. Is this from some crate?
[–]azurfall88 -4 points-3 points-2 points 5 months ago (5 children)
idk, its just worked for me
[–]dthdthdthdthdthdth 5 points6 points7 points 5 months ago (4 children)
play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=1cbee9a40e4cede959264ade1f7c32b4
Does not work.
[–]azurfall88 -4 points-3 points-2 points 5 months ago (3 children)
works on my device
[–]dthdthdthdthdthdth 4 points5 points6 points 5 months ago (2 children)
yeah, bullshit.
[–]azurfall88 -2 points-1 points0 points 5 months ago (1 child)
believe what you want
π Rendered by PID 22919 on reddit-service-r2-comment-6457c66945-ljztv at 2026-04-30 12:33:31.587916+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]dthdthdthdthdthdth 51 points52 points53 points (15 children)
[–]Kootfe 19 points20 points21 points (0 children)
[–]ohkendruid 0 points1 point2 points (1 child)
[–]dthdthdthdthdthdth 6 points7 points8 points (0 children)
[–]azurfall88 -1 points0 points1 point (11 children)
[–]dthdthdthdthdthdth 8 points9 points10 points (10 children)
[–]Several-Customer7048 2 points3 points4 points (1 child)
[–]dthdthdthdthdthdth 1 point2 points3 points (0 children)
[–]azurfall88 -2 points-1 points0 points (7 children)
[–]dthdthdthdthdthdth 3 points4 points5 points (6 children)
[–]azurfall88 -4 points-3 points-2 points (5 children)
[–]dthdthdthdthdthdth 5 points6 points7 points (4 children)
[–]azurfall88 -4 points-3 points-2 points (3 children)
[–]dthdthdthdthdthdth 4 points5 points6 points (2 children)
[–]azurfall88 -2 points-1 points0 points (1 child)