Fix minor documentation issues

This commit is contained in:
Héctor Ramón Jiménez 2020-04-01 04:34:14 +02:00
parent f4f8f62f55
commit 4c44517556
5 changed files with 14 additions and 8 deletions

View file

@ -42,7 +42,7 @@ pub use text::Text;
/// # Example
/// Let's see how we can draw a circle:
///
/// ```
/// ```no_run
/// # mod iced {
/// # pub use iced_wgpu::canvas;
/// # pub use iced_native::Color;

View file

@ -12,7 +12,7 @@ use std::{cell::RefCell, marker::PhantomData, sync::Arc};
/// change or it is explicitly cleared.
///
/// [`Layer`]: ../trait.Layer.html
/// [`Cached`]: struct.Cached.html
/// [`Cache`]: struct.Cache.html
#[derive(Debug)]
pub struct Cache<T: Drawable> {
input: PhantomData<T>,

View file

@ -3,6 +3,7 @@ pub mod arc;
mod builder;
#[doc(no_inline)]
pub use arc::Arc;
pub use builder::Builder;