Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -2142,9 +2142,9 @@ Convert `#![doc]` and `#[doc]` attributes to `//!` and `///` doc comments.
#### `false` (default):

```rust
#![doc = "Example documentation"]
#![doc = " Example documentation"]

#[doc = "Example item documentation"]
#[doc = " Example item documentation"]
pub enum Bar {}

/// Example item documentation
Expand All @@ -2156,6 +2156,9 @@ pub enum Foo {}
```rust
//! Example documentation

/// Example item documentation
pub enum Bar {}

/// Example item documentation
pub enum Foo {}
```
Expand Down
Loading