<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/rustdoc-js/tuple-unit.js, branch 1.85.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.85.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.85.1'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-10-30T19:27:48+00:00</updated>
<entry>
<title>rustdoc-search: simplify rules for generics and type params</title>
<updated>2024-10-30T19:27:48+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2024-09-25T01:18:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=12dc24f46007f82b93ed85614347a42d47580afa'/>
<id>urn:sha1:12dc24f46007f82b93ed85614347a42d47580afa</id>
<content type='text'>
This commit is a response to feedback on the displayed type
signatures results, by making generics act stricter.

Generics are tightened by making order significant. This means
`Vec&lt;Allocator&gt;` now matches only with a true vector of allocators,
instead of matching the second type param. It also makes unboxing
within generics stricter, so `Result&lt;A, B&gt;` only matches if `B`
is in the error type and `A` is in the success type. The top level
of the function search is unaffected.

Find the discussion on:

* &lt;https://rust-lang.zulipchat.com/#narrow/stream/393423-t-rustdoc.2Fmeetings/topic/meeting.202024-07-08/near/449965149&gt;
* &lt;https://github.com/rust-lang/rust/pull/124544#issuecomment-2204272265&gt;
* &lt;https://rust-lang.zulipchat.com/#narrow/channel/266220-t-rustdoc/topic/deciding.20on.20semantics.20of.20generics.20in.20rustdoc.20search/near/476841363&gt;
</content>
</entry>
<entry>
<title>rustdoc: search for tuples and unit by type with `()`</title>
<updated>2023-12-26T19:54:17+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2023-09-29T19:52:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f6a045cc6b24dd033c207dd63d8adccdedf672d2'/>
<id>urn:sha1:f6a045cc6b24dd033c207dd63d8adccdedf672d2</id>
<content type='text'>
</content>
</entry>
</feed>
