-
#rustlang pop quiz (credit dtolnay) for some defined macro `m`, fn main() { let x: String; let m!() = x; }Prikaži ovu nit -
-
-
Not really sure how to fit this into a single tweet-sized pop quiz, but here's another interesting Rust quirk: https://www.reddit.com/r/rust/comments/5rkquz/why_can_we_assign_to_a_field_of_an_instance_of_a/dd88gdp/ …
-
-
-
-
That's the only wrong answer in this quiz, the other two are correct :P
-
I assume it's because the quiz has two arguably-correct answers?
-
Yeah. I call it "pass reference by value". (Yes, the quiz is misleading because it sort of has two correct answers)
-
-
-
Rust pop quiz: What does https://gist.github.com/anonymous/c78faaf286254814b1230dda4a53359d … print?
-
-
Rust pop quiz: if T: Clone, what does x.clone() do when (a) x is &T, (b) x is &&T:
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.