Improve function documentation

This commit is contained in:
Philip Munksgaard 2016-07-14 21:51:00 +02:00
parent 7a723b0ef5
commit fa75b334d0
1 changed files with 2 additions and 2 deletions

View File

@ -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<usize> {
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<usize> {
if num > 0 {