CI: run cargo doc (#309)
* Deny doc errors * Add intentional bad intradoc link to test CI * Add cargo doc to CI * Fix carg doc web (add wasm32 target) * Fix intentionally broken doc-link
This commit is contained in:
+2
-2
@@ -577,8 +577,8 @@ impl Context {
|
||||
}
|
||||
|
||||
/// Call at the end of each frame.
|
||||
/// Returns what has happened this frame (`Output`) as well as what you need to paint.
|
||||
/// You can transform the returned shapes into triangles with a call to `Context::tessellate`.
|
||||
/// Returns what has happened this frame [`crate::Output`] as well as what you need to paint.
|
||||
/// You can transform the returned shapes into triangles with a call to [`Context::tessellate`].
|
||||
#[must_use]
|
||||
pub fn end_frame(&self) -> (Output, Vec<ClippedShape>) {
|
||||
if self.input.wants_repaint() {
|
||||
|
||||
@@ -237,6 +237,9 @@
|
||||
//! ```
|
||||
|
||||
#![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)]
|
||||
#![forbid(unsafe_code)]
|
||||
#![warn(
|
||||
clippy::all,
|
||||
|
||||
Reference in New Issue
Block a user