Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 2 Packages Projects Releases Wiki Activity
Files
cf2dff2b1e3fa55fa5415d524200070d0d7aacfe
rust/tests/rustdoc/search-index-summaries.rs

11 lines
212 B
Rust
Raw Normal View History

rustdoc: Fix short summaries in search results They should be run through a Markdown renderer in rustdoc to remove links. This also fixes the mouse over text for the Crates list on the sidebar.
2016-12-12 18:39:36 +00:00
#![crate_name = "foo"]
Rename `@hastext` to `@hasraw` (same for `matches`) I think `@hasraw` is slightly clearer than `@hastext` since it is actually matching against the raw HTML, not the text nodes.
2022-08-10 13:13:18 -07:00
// @hasraw 'search-index.js' 'Foo short link.'
Update `@!has` name in tests
2022-08-12 00:44:07 -04:00
// @!hasraw - 'www.example.com'
// @!hasraw - 'More Foo.'
rustdoc: Fix short summaries in search results They should be run through a Markdown renderer in rustdoc to remove links. This also fixes the mouse over text for the Crates list on the sidebar.
2016-12-12 18:39:36 +00:00
/// Foo short [link](https://www.example.com/).
///
/// More Foo.
pub struct Foo;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 1003ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API