mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Merge pull request #677 from jbcrail/add-comments
Add comments for deprecated connect().
This commit is contained in:
commit
8943c749f3
3 changed files with 3 additions and 0 deletions
|
@ -174,6 +174,7 @@ pub fn uumain(args: Vec<String>) -> i32 {
|
||||||
};
|
};
|
||||||
|
|
||||||
if !free.is_empty() {
|
if !free.is_empty() {
|
||||||
|
// NB: Using deprecated connect() until Rust 1.3 becomes stable.
|
||||||
let string = free.connect(" ");
|
let string = free.connect(" ");
|
||||||
if options.escape {
|
if options.escape {
|
||||||
let mut prev_was_slash = false;
|
let mut prev_was_slash = false;
|
||||||
|
|
|
@ -117,6 +117,7 @@ fn exec(filename: &str) {
|
||||||
|
|
||||||
if users.len() > 0 {
|
if users.len() > 0 {
|
||||||
users.sort();
|
users.sort();
|
||||||
|
// NB: Using deprecated connect() until Rust 1.3 becomes stable.
|
||||||
println!("{}", users.connect(" "));
|
println!("{}", users.connect(" "));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,6 +50,7 @@ pub fn uumain(args: Vec<String>) -> i32 {
|
||||||
let string = if matches.free.is_empty() {
|
let string = if matches.free.is_empty() {
|
||||||
"y".to_string()
|
"y".to_string()
|
||||||
} else {
|
} else {
|
||||||
|
// NB: Using deprecated connect() until Rust 1.3 becomes stable.
|
||||||
matches.free.connect(" ")
|
matches.free.connect(" ")
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue