1
Fork 0
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:
Heather 2015-08-10 08:19:24 +03:00
commit 8943c749f3
3 changed files with 3 additions and 0 deletions

View file

@ -174,6 +174,7 @@ pub fn uumain(args: Vec<String>) -> i32 {
};
if !free.is_empty() {
// NB: Using deprecated connect() until Rust 1.3 becomes stable.
let string = free.connect(" ");
if options.escape {
let mut prev_was_slash = false;

View file

@ -117,6 +117,7 @@ fn exec(filename: &str) {
if users.len() > 0 {
users.sort();
// NB: Using deprecated connect() until Rust 1.3 becomes stable.
println!("{}", users.connect(" "));
}
}

View file

@ -50,6 +50,7 @@ pub fn uumain(args: Vec<String>) -> i32 {
let string = if matches.free.is_empty() {
"y".to_string()
} else {
// NB: Using deprecated connect() until Rust 1.3 becomes stable.
matches.free.connect(" ")
};