aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Lilienthal <nathan@nixpulvis.com>2018-12-27 16:02:41 -0500
committerChristian Duerr <chrisduerr@users.noreply.github.com>2018-12-27 21:02:40 +0000
commit9cd868f88722502f124e7e84249c33d61ac4c6ab (patch)
tree4018effe0e5b8668dbee95e33fab9d6b13fd1539
parent562d96341cca96efd114a1636f917469856a0822 (diff)
downloadalacritty-9cd868f88722502f124e7e84249c33d61ac4c6ab.tar.gz
alacritty-9cd868f88722502f124e7e84249c33d61ac4c6ab.zip
Fix `create_rect` function documentation
-rw-r--r--src/renderer/lines.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/renderer/lines.rs b/src/renderer/lines.rs
index 556dcb0d..130ffdda 100644
--- a/src/renderer/lines.rs
+++ b/src/renderer/lines.rs
@@ -105,7 +105,8 @@ impl<'a> Lines<'a> {
}
}
-/// Create a rectangle between two cells.
+/// Create a rectangle that starts on the left of `start` and ends on the right
+/// of `end`, based on the given flag and size metrics.
fn create_rect(
start: &RenderableCell,
end: &RenderableCell,