From fa75b334d0efd13184d8b71fcd5738b924f15601 Mon Sep 17 00:00:00 2001 From: Philip Munksgaard Date: Thu, 14 Jul 2016 21:51:00 +0200 Subject: [PATCH] Improve function documentation --- src/control.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/control.rs b/src/control.rs index 7d0bd74..3d61109 100644 --- a/src/control.rs +++ b/src/control.rs @@ -121,7 +121,7 @@ pub trait TermWrite { } } - /// Scroll the window up. + /// Scroll the window `num` spaces up. #[inline] fn scroll_up(&mut self, num: u32) -> io::Result { if num > 0 { @@ -136,7 +136,7 @@ pub trait TermWrite { } } - /// Scroll the window down. + /// Scroll the window `num` spaces down. #[inline] fn scroll_down(&mut self, num: u32) -> io::Result { if num > 0 {