@imperio@toot.cat cover
@imperio@toot.cat avatar

imperio

@imperio@toot.cat

#rustlang reviewer and contributor, #rustdoc team leader, #gnome foundation member, owner of the Gtk-rs organization

This profile is from a federated server and may be incomplete. For a complete list of posts, browse on the original instance.

imperio , to random
@imperio@toot.cat avatar

Removed some images from rustdoc and inlined them in the CSS directly: meaning less downloads and thus faster page load. :)

PR: https://github.com/rust-lang/rust/pull/123734

imperio , to random
@imperio@toot.cat avatar

The inline_const Rust feature has been stabilized!

Take a look at the first comment in the PR to see what it will allow you to do. :)

https://github.com/rust-lang/rust/pull/104087

imperio , to random
@imperio@toot.cat avatar

Added a new rust clippy lint which detects .get().is_some() on std map types:

let s: HashSet<String> = HashSet::new();<br></br>if s.get("a").is_some() {<br></br>

Should be written:

if s.contains("a") {<br></br>

PR: https://github.com/rust-lang/rust-clippy/pull/12339

imperio , to random
@imperio@toot.cat avatar

New record: rollup of 18 pull requests merged on first try on the rust repository. :D

https://github.com/rust-lang/rust/pull/120491

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • test
  • worldmews
  • mews
  • All magazines