From 36d18d979ffe713328de901005c8a5a78075357d Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 24 Aug 2019 03:55:07 +0200 Subject: Fix details in documentation --- src/renderer.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/renderer.rs') diff --git a/src/renderer.rs b/src/renderer.rs index 86e93a06..79675793 100644 --- a/src/renderer.rs +++ b/src/renderer.rs @@ -6,7 +6,10 @@ pub trait Renderer { /// Explains the [`Layout`] of an [`Element`] for debugging purposes. /// /// This will be called when [`Element::explain`] has been used. It should - /// _explain_ the [`Layout`] graphically. + /// _explain_ the given [`Layout`] graphically. + /// + /// A common approach consists in recursively rendering the bounds of the + /// [`Layout`] and its children. /// /// [`Layout`]: struct.Layout.html /// [`Element`]: struct.Element.html -- cgit