Browse Source

group rustdoc lints under rustdoc:: prefix

pull/365/head
Emil Ernerfeldt 4 years ago
parent
commit
4022b84ae7
  1. 9
      eframe/src/lib.rs
  2. 9
      egui/src/lib.rs
  3. 9
      egui_demo_app/src/lib.rs
  4. 9
      egui_demo_app/src/main.rs
  5. 9
      egui_demo_lib/src/lib.rs
  6. 9
      egui_glium/src/lib.rs
  7. 9
      egui_web/src/lib.rs
  8. 9
      emath/src/lib.rs
  9. 9
      epaint/src/lib.rs
  10. 9
      epi/src/lib.rs

9
eframe/src/lib.rs

@ -12,9 +12,12 @@
//! `eframe` is implemented using [`egui_web`](https://docs.rs/egui_web) and [`egui_glium`](https://docs.rs/egui_glium).
#![cfg_attr(not(debug_assertions), deny(warnings))] // Forbid warnings in release builds
#![deny(broken_intra_doc_links)]
#![deny(invalid_codeblock_attributes)]
#![deny(private_intra_doc_links)]
#![deny(
rustdoc::broken_intra_doc_links,
rustdoc::invalid_codeblock_attributes,
rustdoc::missing_crate_level_docs,
rustdoc::private_intra_doc_links
)]
#![forbid(unsafe_code)]
#![warn(clippy::all, missing_docs, rust_2018_idioms)]

9
egui/src/lib.rs

@ -242,9 +242,12 @@
//! ```
#![cfg_attr(not(debug_assertions), deny(warnings))] // Forbid warnings in release builds
#![deny(broken_intra_doc_links)]
#![deny(invalid_codeblock_attributes)]
#![deny(private_intra_doc_links)]
#![deny(
rustdoc::broken_intra_doc_links,
rustdoc::invalid_codeblock_attributes,
rustdoc::missing_crate_level_docs,
rustdoc::private_intra_doc_links
)]
#![forbid(unsafe_code)]
#![warn(
clippy::all,

9
egui_demo_app/src/lib.rs

@ -1,7 +1,10 @@
#![cfg_attr(not(debug_assertions), deny(warnings))] // Forbid warnings in release builds
#![deny(broken_intra_doc_links)]
#![deny(invalid_codeblock_attributes)]
#![deny(private_intra_doc_links)]
#![deny(
rustdoc::broken_intra_doc_links,
rustdoc::invalid_codeblock_attributes,
rustdoc::missing_crate_level_docs,
rustdoc::private_intra_doc_links
)]
#![forbid(unsafe_code)]
#![warn(clippy::all, rust_2018_idioms)]

9
egui_demo_app/src/main.rs

@ -1,7 +1,10 @@
#![cfg_attr(not(debug_assertions), deny(warnings))] // Forbid warnings in release builds
#![deny(broken_intra_doc_links)]
#![deny(invalid_codeblock_attributes)]
#![deny(private_intra_doc_links)]
#![deny(
rustdoc::broken_intra_doc_links,
rustdoc::invalid_codeblock_attributes,
rustdoc::missing_crate_level_docs,
rustdoc::private_intra_doc_links
)]
#![forbid(unsafe_code)]
#![warn(clippy::all, rust_2018_idioms)]

9
egui_demo_lib/src/lib.rs

@ -3,9 +3,12 @@
//! The demo-code is also used in benchmarks and tests.
#![cfg_attr(not(debug_assertions), deny(warnings))] // Forbid warnings in release builds
#![deny(broken_intra_doc_links)]
#![deny(invalid_codeblock_attributes)]
#![deny(private_intra_doc_links)]
#![deny(
rustdoc::broken_intra_doc_links,
rustdoc::invalid_codeblock_attributes,
rustdoc::missing_crate_level_docs,
rustdoc::private_intra_doc_links
)]
#![forbid(unsafe_code)]
#![warn(
clippy::all,

9
egui_glium/src/lib.rs

@ -6,9 +6,12 @@
//! If you are writing an app, you may want to look at [`eframe`](https://docs.rs/eframe) instead.
#![cfg_attr(not(debug_assertions), deny(warnings))] // Forbid warnings in release builds
#![deny(broken_intra_doc_links)]
#![deny(invalid_codeblock_attributes)]
#![deny(private_intra_doc_links)]
#![deny(
rustdoc::broken_intra_doc_links,
rustdoc::invalid_codeblock_attributes,
rustdoc::missing_crate_level_docs,
rustdoc::private_intra_doc_links
)]
#![forbid(unsafe_code)]
#![warn(clippy::all, rust_2018_idioms)]
#![allow(clippy::manual_range_contains, clippy::single_match)]

9
egui_web/src/lib.rs

@ -5,9 +5,12 @@
//! If you are writing an app, you may want to look at [`eframe`](https://docs.rs/eframe) instead.
#![cfg_attr(not(debug_assertions), deny(warnings))] // Forbid warnings in release builds
#![deny(broken_intra_doc_links)]
#![deny(invalid_codeblock_attributes)]
#![deny(private_intra_doc_links)]
#![deny(
rustdoc::broken_intra_doc_links,
rustdoc::invalid_codeblock_attributes,
rustdoc::missing_crate_level_docs,
rustdoc::private_intra_doc_links
)]
#![forbid(unsafe_code)]
#![warn(clippy::all, rust_2018_idioms)]

9
emath/src/lib.rs

@ -10,9 +10,12 @@
//! * Dimension order is always `x y`
#![cfg_attr(not(debug_assertions), deny(warnings))] // Forbid warnings in release builds
#![deny(broken_intra_doc_links)]
#![deny(invalid_codeblock_attributes)]
#![deny(private_intra_doc_links)]
#![deny(
rustdoc::broken_intra_doc_links,
rustdoc::invalid_codeblock_attributes,
rustdoc::missing_crate_level_docs,
rustdoc::private_intra_doc_links
)]
#![forbid(unsafe_code)]
#![warn(
clippy::all,

9
epaint/src/lib.rs

@ -1,9 +1,12 @@
//! 2D graphics/rendering. Fonts, textures, color, geometry, tessellation etc.
#![cfg_attr(not(debug_assertions), deny(warnings))] // Forbid warnings in release builds
#![deny(broken_intra_doc_links)]
#![deny(invalid_codeblock_attributes)]
#![deny(private_intra_doc_links)]
#![deny(
rustdoc::broken_intra_doc_links,
rustdoc::invalid_codeblock_attributes,
rustdoc::missing_crate_level_docs,
rustdoc::private_intra_doc_links
)]
#![forbid(unsafe_code)]
#![warn(
clippy::all,

9
epi/src/lib.rs

@ -7,9 +7,12 @@
//! Start by looking at the [`App`] trait, and implement [`App::update`].
#![cfg_attr(not(debug_assertions), deny(warnings))] // Forbid warnings in release builds
#![deny(broken_intra_doc_links)]
#![deny(invalid_codeblock_attributes)]
#![deny(private_intra_doc_links)]
#![deny(
rustdoc::broken_intra_doc_links,
rustdoc::invalid_codeblock_attributes,
rustdoc::missing_crate_level_docs,
rustdoc::private_intra_doc_links
)]
#![forbid(unsafe_code)]
#![warn(
clippy::all,

Loading…
Cancel
Save