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
9db6061d64fbec7470f4e4419d16c47fe9aeb322
rust/src/test/rustdoc/search-index-summaries.rs

11 lines
206 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.'
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
// @!has - 'www.example.com'
// @!has - 'More Foo.'
/// 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: 715ms 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