File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ impl Term {
332
332
Ok ( chars. iter ( ) . collect :: < String > ( ) )
333
333
}
334
334
335
- /// Read securely a line of input.
335
+ /// Read a line of input securely .
336
336
///
337
337
/// This is similar to `read_line` but will not echo the output. This
338
338
/// also switches the terminal into a different mode where not all
@@ -386,7 +386,7 @@ impl Term {
386
386
387
387
/// Return the terminal size in rows and columns.
388
388
///
389
- /// If the size cannot be reliably determined None is returned.
389
+ /// If the size cannot be reliably determined ` None` is returned.
390
390
#[ inline]
391
391
pub fn size_checked ( & self ) -> Option < ( u16 , u16 ) > {
392
392
terminal_size ( self )
@@ -424,7 +424,7 @@ impl Term {
424
424
425
425
/// Clear the current line.
426
426
///
427
- /// The positions the cursor at the beginning of the line again .
427
+ /// This positions the cursor at the beginning of the current line .
428
428
#[ inline]
429
429
pub fn clear_line ( & self ) -> io:: Result < ( ) > {
430
430
clear_line ( self )
@@ -456,7 +456,7 @@ impl Term {
456
456
clear_to_end_of_screen ( self )
457
457
}
458
458
459
- /// Clear the last `n` chars in the current line.
459
+ /// Clear the last `n` chars of the current line.
460
460
#[ inline]
461
461
pub fn clear_chars ( & self , n : usize ) -> io:: Result < ( ) > {
462
462
clear_chars ( self , n)
You can’t perform that action at this time.
0 commit comments