ci: Disallow warnings in rustdoc and test private items (#2341)
Make sure `cargo doc` runs cleanly without any warnings in the CI - some recently introduced but still allowing a PR to get merged. In case someone wishes to add docs on private items, make sure those adhere to the same standards.
This commit is contained in:
parent
ac42447459
commit
2b414cd825
6 changed files with 12 additions and 10 deletions
|
|
@ -912,7 +912,7 @@ impl Window {
|
|||
///
|
||||
/// First try confining the cursor, and if that fails, try locking it instead.
|
||||
///
|
||||
/// ```no-run
|
||||
/// ```no_run
|
||||
/// # use winit::event_loop::EventLoop;
|
||||
/// # use winit::window::{CursorGrabMode, Window};
|
||||
/// # let mut event_loop = EventLoop::new();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue