Live data from Hacker News

Announcing Rust 1.35.0

blog.rust-lang.org

1–10 of 111 posts

Re: Announcing Rust 1.35.0

#3

> Fn* closure traits implemented for Box This threw me for a minute. Function pointers not using * is confusing enough without using glob syntax to talk about function types!

Your comment was also confusing until I reached your parenthetical, because `+` is used for separating trait bounds :)

Re: Announcing Rust 1.35.0

#4
post #3

> Fn* closure traits implemented for Box This threw me for a minute. Function pointers not using * is confusing enough without using glob syntax to talk about function types!

Your comment was also confusing until I reached your parenthetical, because `+` is used for separating trait bounds :)

Yeah, I moved it to the top. Funny how I can't talk about the character being too overloaded because it has another meaning to the forum...

Edit: the parent comment was replying to an earlier version of my comment, in which I used + because I didn't know that * could be kind-of escaped by putting a space after it

Re: Announcing Rust 1.35.0

#6

> Fn* closure traits implemented for Box This threw me for a minute. Function pointers not using * is confusing enough without using glob syntax to talk about function types!

   Use four spaces at the
   beginning of the line *

Re: Announcing Rust 1.35.0

#8

> Fn* closure traits implemented for Box This threw me for a minute. Function pointers not using * is confusing enough without using glob syntax to talk about function types!

It should work as long as there's a space after the asterisk:

> Fn* closure traits implemented for Box

This threw me for a minute. Function pointers not using * is confusing enough without using glob syntax to talk about function types!

Re: Announcing Rust 1.35.0

#9
post #6

> Fn* closure traits implemented for Box This threw me for a minute. Function pointers not using * is confusing enough without using glob syntax to talk about function types!

Use four spaces at the beginning of the line *

That breaks mobile. I get a scrollable area with no scrollbars, so the content just looks clipped.

Re: Announcing Rust 1.35.0

#10

> Fn* closure traits implemented for Box This threw me for a minute. Function pointers not using * is confusing enough without using glob syntax to talk about function types!

Well, there is always: *mut fn(T, ...) -> U

Unless you are intentionally bringing up pointers to function pointers, this is exactly the confusion I'm talking about :)
Post reply on HN