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
0f466b06d197729ebeeb72a9503f0a878749ec87
rust/tests/rustdoc/tuple-struct-34928.rs

7 lines
158 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"]
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: 1200ms 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