Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fee1-dead
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
Item Patterns and Struct Else in Rust
(blog.nilstrieb.dev)
2 points
by
fee1-dead
4y ago
|
0 comments
2.
▲
Apache Statement on White House Open Source Security Summit
(cwiki.apache.org)
2 points
by
fee1-dead
5y ago
|
0 comments
3.
▲
by
fee1-dead
5y ago
That's just.. not how Rust works. I assume that after being frustrated by the Rust borrow checker, you chose to use easy to write wrappers like `Arc` and `RefCell`. I think it is something that beginners often do. I wouldn't rewri
4.
▲
by
fee1-dead
5y ago
> What with this arrows (->) before return types? Seems unnecessary. Couldn't return types be purely positional as in Go? I guess you could say `->` is too verbose and you can omit it in other languages . Rust has a complex t