This repository was archived by the owner on Aug 12, 2021. It is now read-only.
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ pub trait Terminal: Write {
198
198
/// *Note: This does not flush.*
199
199
///
200
200
/// That means the reset command may get buffered so, if you aren't planning on doing anything
201
- /// else that might flush stdout's buffer (e.g. writing a line of text), you should flush after
201
+ /// else that might flush stdout's buffer (e.g., writing a line of text), you should flush after
202
202
/// calling reset.
203
203
fn reset ( & mut self ) -> io:: Result < bool > ;
204
204
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ pub fn get_dbpath_for_term(term: &str) -> Option<PathBuf> {
64
64
p. pop ( ) ;
65
65
66
66
// on some installations the dir is named after the hex of the char
67
- // (e.g. macOS)
67
+ // (e.g., macOS)
68
68
p. push ( & format ! ( "{:x}" , first_char as usize ) ) ;
69
69
p. push ( term) ;
70
70
if fs:: metadata ( & p) . is_ok ( ) {
@@ -79,7 +79,7 @@ pub fn get_dbpath_for_term(term: &str) -> Option<PathBuf> {
79
79
#[ ignore( reason = "buildbots don't have ncurses installed and I can't mock everything I need" ) ]
80
80
fn test_get_dbpath_for_term ( ) {
81
81
// woefully inadequate test coverage
82
- // note: current tests won't work with non-standard terminfo hierarchies (e.g. macOS's)
82
+ // note: current tests won't work with non-standard terminfo hierarchies (e.g., macOS's)
83
83
use std:: env;
84
84
// FIXME (#9639): This needs to handle non-utf8 paths
85
85
fn x ( t : & str ) -> String {
You can’t perform that action at this time.
0 commit comments