1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00

tail: fix typo

Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>
This commit is contained in:
Akira Hayakawa 2014-06-15 17:00:55 +09:00
parent 8519927481
commit 3e9e634fa5

View file

@ -149,7 +149,7 @@ fn obsolete (options: &[String]) -> (Vec<String>, Option<uint>) {
}
fn tail<T: Reader> (reader: &mut BufferedReader<T>, line_count:uint, follow:bool, sleep_sec:u64) {
// read trough each line and store them in a ringbuffer that always contains
// read through each line and store them in a ringbuffer that always contains
// line_count lines. When reaching the end of file, output the lines in the
// ringbuf.
let mut ringbuf : RingBuf<String> = RingBuf::new();