mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
16 lines
382 B
Rust
16 lines
382 B
Rust
// rustfmt-format_code_in_doc_comments: true
|
|
|
|
/// ```
|
|
/// # #[rustversion::since(1.36)]
|
|
/// # fn dox() {
|
|
/// # use std::pin::Pin;
|
|
/// # type Projection<'a> = &'a ();
|
|
/// # type ProjectionRef<'a> = &'a ();
|
|
/// # trait Dox {
|
|
/// fn project_ex (self: Pin<&mut Self>) -> Projection<'_>;
|
|
/// fn project_ref(self: Pin<&Self>) -> ProjectionRef<'_>;
|
|
/// # }
|
|
/// # }
|
|
/// ```
|
|
struct Foo;
|