<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/rustdoc-js-std/parser-hof.js, branch 1.83.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.83.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.83.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-03-12T05:27:22+00:00</updated>
<entry>
<title>rustdoc-search: add search query syntax `Fn(T) -&gt; U`</title>
<updated>2024-03-12T05:27:22+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2024-01-06T23:01:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7b926555b71032889ea5079aa642885e63fe51c2'/>
<id>urn:sha1:7b926555b71032889ea5079aa642885e63fe51c2</id>
<content type='text'>
This is implemented, in addition to the ML-style one,
because Rust does it. If we don't, we'll never hear the end of it.

This commit also refactors some duplicate parts of the parser
into a dedicated function.
</content>
</entry>
<entry>
<title>rustdoc-search: parse and search with ML-style HOF</title>
<updated>2024-03-12T04:22:03+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2024-01-06T20:17:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7f427f86bd0db622f896bcdce04ce5f20658c071'/>
<id>urn:sha1:7f427f86bd0db622f896bcdce04ce5f20658c071</id>
<content type='text'>
Option::map, for example, looks like this:

    option&lt;t&gt;, (t -&gt; u) -&gt; option&lt;u&gt;

This syntax searches all of the HOFs in Rust: traits Fn, FnOnce,
and FnMut, and bare fn primitives.
</content>
</entry>
</feed>
