Fix doc comments and remove Align from tour

This commit is contained in:
Héctor Ramón Jiménez 2019-11-11 07:11:41 +01:00
parent 860a6923bb
commit 60774740ef
3 changed files with 20 additions and 11 deletions

View file

@ -128,7 +128,7 @@ where
/// #
/// # mod iced_wgpu {
/// # use iced_native::{
/// # text, row, Text, Node, Point, Rectangle, Style, Layout, Row
/// # text, row, layout, Text, Size, Point, Rectangle, Layout, Row
/// # };
/// # pub struct Renderer;
/// #
@ -144,8 +144,12 @@ where
/// # }
/// #
/// # impl text::Renderer for Renderer {
/// # fn node(&self, _text: &Text) -> Node {
/// # Node::new(Style::default())
/// # fn layout(
/// # &self,
/// # _text: &Text,
/// # _limits: &layout::Limits,
/// # ) -> layout::Node {
/// # layout::Node::new(Size::ZERO)
/// # }
/// #
/// # fn draw(