Grammar questions

⚓ Rust    📅 2025-11-24    👤 surdeus    👁️ 9      

surdeus

Info

This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Grammar questions

image

I write a quick sort, I was thinking for #105, 'return v;' is identical to 'v'. somehow, it is not.
'return v;' will work, but 'v' will not compile.

Can someone help explain what's the difference among the 2

3 posts - 3 participants

Read full topic

🏷️ Rust_feed