TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Rust 1.48

410 pointsby pietroalbiniover 4 years ago

8 comments

bluejekyllover 4 years ago
One of the things that made me so excited about Rust when I first used it was the capabilities of the Rustdoc system. The built in examples that are also unit tests, the ease of just using markdown... and now the linking is even simpler. It’s one of my favorite things about the language, and I think is why so many crates have such good documentation, because it’s easy to do. (and it’s tested and validated so you know it’s right!)
评论 #25150547 未加载
评论 #25151012 未加载
评论 #25152369 未加载
评论 #25151020 未加载
评论 #25151481 未加载
评论 #25151594 未加载
评论 #25151917 未加载
评论 #25150872 未加载
评论 #25151274 未加载
jphover 4 years ago
Congratulations! The highlight for me is stable conversion from Vec to array:<p><pre><code> let my_arr: [u32; 3] = my_vec.try_into().expect(&quot;msg&quot;);</code></pre>
评论 #25150537 未加载
评论 #25151037 未加载
评论 #25150670 未加载
DC-3over 4 years ago
On the one hand it&#x27;s not hugely thrilling for the headline features of a new release to be improvements to doc tooling and a stabilized trait impl but on the other hand it&#x27;s good to see the language settling down and maturing.
评论 #25151460 未加载
评论 #25151108 未加载
ibraheemdevover 4 years ago
[`Bar`](crate::bar::Bar) vs. [`Bar`](..&#x2F;bar&#x2F;struct.Bar.html). Thank you!
juancampaover 4 years ago
I wish they have used a different word than `const` for &quot;not necessarily constant but it can be called at compile time&quot;. This is bound to confuse newcomers. Note this is unrelated to this release but I just realized how confusing it could be.
评论 #25151469 未加载
评论 #25152088 未加载
kamilafsarover 4 years ago
A few months ago I tried Rust but found that the tooling like auto completion and highlighting where still a bit alpha. IIRC I used VSCode with the most popular Rust plugin at the time.<p>Did I miss something or is there some progress being made in that respect?
评论 #25153050 未加载
评论 #25152453 未加载
评论 #25153133 未加载
评论 #25152634 未加载
评论 #25152754 未加载
评论 #25152452 未加载
评论 #25152657 未加载
评论 #25155838 未加载
评论 #25152413 未加载
vallasover 4 years ago
What are the things that need to be solved in next versions?
jiggawattsover 4 years ago
Just in time for the Advent-of-Code 2020 challenge...