From c583a2174d28878a6b1a31288e80b96fac62e799 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Wed, 4 Sep 2019 11:09:57 +0200 Subject: Improve tour example --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 88a5e81e..c1c18b41 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -97,7 +97,7 @@ //! # } //! # //! # impl text::Renderer<[f32; 4]> for Renderer { -//! # fn node(&self, style: Style, _content: &str, _size: f32) -> Node { +//! # fn node(&self, style: Style, _content: &str, _size: Option) -> Node { //! # Node::new(style) //! # } //! # @@ -105,7 +105,7 @@ //! # &mut self, //! # _bounds: Rectangle, //! # _content: &str, -//! # _size: f32, +//! # _size: Option, //! # _color: Option<[f32; 4]>, //! # _horizontal_alignment: HorizontalAlignment, //! # _vertical_alignment: VerticalAlignment, -- cgit