<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/rustdoc-js-std, branch 1.71.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.71.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.71.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-04-14T21:55:45+00:00</updated>
<entry>
<title>rustdoc-search: add support for nested generics</title>
<updated>2023-04-14T21:55:45+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2023-03-31T04:53:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=afee2411e3fd5c6e8b3301fa748a760e01615904'/>
<id>urn:sha1:afee2411e3fd5c6e8b3301fa748a760e01615904</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: add support for type filters in arguments and generics</title>
<updated>2023-03-21T05:41:57+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2023-03-01T01:17:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e600c0ba0e0b8153e68c4cead3d92b2c52ca8914'/>
<id>urn:sha1:e600c0ba0e0b8153e68c4cead3d92b2c52ca8914</id>
<content type='text'>
This makes sense, since the search index has the information in it,
and it's more useful for function signature searches since a
function signature search's item type is, by definition, some type
of function (there's more than one, but not very many).
</content>
</entry>
<entry>
<title>Rollup merge of #108875 - notriddle:notriddle/return-trait, r=GuillaumeGomez</title>
<updated>2023-03-16T07:57:05+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-03-16T07:57:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=aa881f16eccfd3614bc3d40aaf9b1af6d860c16a'/>
<id>urn:sha1:aa881f16eccfd3614bc3d40aaf9b1af6d860c16a</id>
<content type='text'>
rustdoc: fix type search for `Option` combinators
</content>
</entry>
<entry>
<title>rustdoc: use restricted Damerau-Levenshtein distance for search</title>
<updated>2023-03-11T02:47:08+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2023-03-11T01:18:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dfd9e5e3fab422684f1768561e19869fbf5f6277'/>
<id>urn:sha1:dfd9e5e3fab422684f1768561e19869fbf5f6277</id>
<content type='text'>
Based on https://github.com/rust-lang/rust/pull/108200, for the same
rationale.

&gt; This replaces the existing Levenshtein algorithm with the
&gt; Damerau-Levenshtein algorithm. This means that "ab" to "ba" is one change
&gt; (a transposition) instead of two (a deletion and insertion). More
&gt; specifically, this is a restricted implementation, in that "ca" to "abc"
&gt; cannot be performed as "ca" → "ac" → "abc", as there is an insertion in the
&gt; middle of a transposition. I believe that errors like that are sufficiently
&gt; rare that it's not worth taking into account.

Before this change, searching `prinltn!` listed `print!` first, followed
by `println!`. With this change, `println!` matches more closely.
</content>
</entry>
<entry>
<title>rustdoc: fix type search when more than one `where` clause applies</title>
<updated>2023-03-07T18:37:04+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2023-03-07T18:21:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=44813e038c62ac975f4efaf8fb588949d24528af'/>
<id>urn:sha1:44813e038c62ac975f4efaf8fb588949d24528af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #108723 - notriddle:notriddle/where-clause, r=GuillaumeGomez</title>
<updated>2023-03-04T19:48:18+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-03-04T19:48:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9cabc40ab1dd3b170728be47e47455b1aa620f9b'/>
<id>urn:sha1:9cabc40ab1dd3b170728be47e47455b1aa620f9b</id>
<content type='text'>
rustdoc: function signature search with traits in `where` clause

## Before

![image](https://user-images.githubusercontent.com/1593513/222873534-a640a72a-c654-4702-9f3b-175129d9591d.png)

## After

![image](https://user-images.githubusercontent.com/1593513/222873544-fdfc431d-2b65-4b56-bede-0302ea9f153a.png)
</content>
</entry>
<entry>
<title>rustdoc: function signature search with traits in `where` clause</title>
<updated>2023-03-04T16:05:57+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2023-03-04T03:23:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9d27028391c2e0fcb72527f2bc3aa4107d123a87'/>
<id>urn:sha1:9d27028391c2e0fcb72527f2bc3aa4107d123a87</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add test for unclosed generic</title>
<updated>2023-03-03T19:49:25+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2023-03-02T13:28:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=823671589f3de683d6d2f46fa6c0259d08f6cda5'/>
<id>urn:sha1:823671589f3de683d6d2f46fa6c0259d08f6cda5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add GUI test for rustdoc search errors background</title>
<updated>2023-03-02T11:59:04+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2023-02-28T21:54:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cfb4af87e30e9cfc4af01d08b45fed738d00d0ed'/>
<id>urn:sha1:cfb4af87e30e9cfc4af01d08b45fed738d00d0ed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #108143 - notriddle:notriddle/filter-exclamation-macro, r=GuillaumeGomez</title>
<updated>2023-03-01T18:10:18+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>99973273+Dylan-DPC@users.noreply.github.com</email>
</author>
<published>2023-03-01T18:10:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f03e5345aa5bbee3c35a394238431b1267f7ab93'/>
<id>urn:sha1:f03e5345aa5bbee3c35a394238431b1267f7ab93</id>
<content type='text'>
rustdoc: search by macro when query ends with `!`

Related to #96399

Note: the `never` type alias is tested in [`/tests/rustdoc-js-std/alias-3.js`](https://github.com/notriddle/rust/blob/08ad401633037cc226b3806a3c5f48c2f34703bf/tests/rustdoc-js-std/alias-3.js)

## Before

![image](https://user-images.githubusercontent.com/1593513/219504192-54cc0753-ff97-4a37-ad4a-8ae915181325.png)

## After

![image](https://user-images.githubusercontent.com/1593513/219504251-589a7e11-1e7b-4b7b-879d-1b564080017c.png)
</content>
</entry>
</feed>
