diff options
| author | ozkanonur <work@onurozkan.dev> | 2023-05-07 00:12:29 +0300 |
|---|---|---|
| committer | ozkanonur <work@onurozkan.dev> | 2023-05-07 00:12:29 +0300 |
| commit | 4e7c14fe9f03dd0189f954bd9cb97c3c513e7eed (patch) | |
| tree | fa8a777bab81cc492a0df4d8bd6d40efc17d2ae4 /library/core/src/primitive_docs.rs | |
| parent | 8b8110e1469d459a196f6feb60d82dec48c3cfc2 (diff) | |
| download | rust-4e7c14fe9f03dd0189f954bd9cb97c3c513e7eed.tar.gz rust-4e7c14fe9f03dd0189f954bd9cb97c3c513e7eed.zip | |
enable `rust_2018_idioms` for doctests
Signed-off-by: ozkanonur <work@onurozkan.dev>
Diffstat (limited to 'library/core/src/primitive_docs.rs')
| -rw-r--r-- | library/core/src/primitive_docs.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/primitive_docs.rs b/library/core/src/primitive_docs.rs index 3df990e5dd9..b8230042875 100644 --- a/library/core/src/primitive_docs.rs +++ b/library/core/src/primitive_docs.rs @@ -555,6 +555,7 @@ impl Copy for () { /// /// ``` /// # #![feature(rustc_private)] +/// #[allow(unused_extern_crates)] /// extern crate libc; /// /// use std::mem; |
