iampi31415
iampi31415
> all statements are expressions (they produce ()) I think that's not valid in general @chriskrycho, or you could do `let a = (let b = 6;);` You can do...
Can one guarantee that a part of a UTF8 string will never have a "space" that is actually a part of a multi byte character, and so not a simple...
Np, i think this is just valid for ASCII like i quoted. But the quote is way after the code, it should be closer. Ofc, it may be irrelevant, i...
@30crows the point here is not to move any chapter it is just to move paragraph further up and the reason has to do with the byte analysis (multi-byte vs...
this won't happen likely so ill close it.
@StefanSalewski Thanks. I can try but is it fine for non-c programmers?
this won't happen likely so ill close it
I think the docs for the unit type and for statements allow for a more accurate description without too much complication. https://doc.rust-lang.org/std/primitive.unit.html https://doc.rust-lang.org/reference/statements.html An expression that ends in `;` is...
I don't really know whether a statement evaluate to the unit type, where did you get that from? Also I think it should say expression-statement and the reason is that...
I think that has to be wrong and the reason is that if a statement had a return value you could use it to assign to something (and that d...