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
d3ec92e16e7e78c273c0f996cad5122ce5a6cdd6
rust/tests/rustdoc/tuple-struct-where-clause-34928.rs

9 lines
209 B
Rust
Raw Normal View History

rustdoc: Fix tuple struct where clause rendering For tuple structs the where clause comes after the definition.
2016-07-25 18:19:11 +01:00
#![crate_name = "foo"]
Add URL to test cases
2023-11-20 11:50:25 -07:00
// https://github.com/rust-lang/rust/issues/34928
rustdoc: Fix tuple struct where clause rendering For tuple structs the where clause comes after the definition.
2016-07-25 18:19:11 +01:00
pub trait Bar {}
rustdoc: use a newline instead of `<br>` to format code headers Since these elements now use `white-space: pre-wrap` since 784665d4ce59c5239791f1f96fa2137e47ca1817, it's fine to use newlines for formatting, which is smaller and a bit less complicated.
2023-02-07 11:23:25 -07:00
// @has foo/struct.Foo.html '//pre' 'pub struct Foo<T>(pub T) where T: Bar;'
rustdoc: Fix tuple struct where clause rendering For tuple structs the where clause comes after the definition.
2016-07-25 18:19:11 +01:00
pub struct Foo<T>(pub T) where T: Bar;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 1503ms Template: 1ms
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