summaryrefslogtreecommitdiffstats
path: root/src/renderer.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-08-24 03:55:07 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-08-24 03:55:07 +0200
commit36d18d979ffe713328de901005c8a5a78075357d (patch)
treed6724bf489e346d0506a8fe58d4464479ae2cd7f /src/renderer.rs
parentec66e3fc1b6cc0d40025bf94d86263716d18657b (diff)
downloadiced-36d18d979ffe713328de901005c8a5a78075357d.tar.gz
iced-36d18d979ffe713328de901005c8a5a78075357d.tar.bz2
iced-36d18d979ffe713328de901005c8a5a78075357d.zip
Fix details in documentation
Diffstat (limited to 'src/renderer.rs')
-rw-r--r--src/renderer.rs5
1 files changed, 4 insertions, 1 deletions
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