Skip to content

Commit 50ecc12

Browse files
authored
Update types.rs
1 parent f3f1bab commit 50ecc12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/types.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,15 +105,15 @@ declare_clippy_lint! {
105105
/// **Known problems:** None.
106106
///
107107
/// **Example**
108-
/// ```rust,ignore
108+
/// ```rust
109109
/// fn get_data() -> Option<Option<u32>> {
110110
/// None
111111
/// }
112112
/// ```
113113
///
114114
/// Better:
115115
///
116-
/// ```rust,ignore
116+
/// ```rust
117117
/// pub enum Contents {
118118
/// Data(Vec<u8>), // Was Some(Some(Vec<u8>))
119119
/// NotYetFetched, // Was Some(None)

0 commit comments

Comments
 (0)