aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/handlers/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handlers/mod.rs b/src/handlers/mod.rs
index 9f0812d1..2cd39fa2 100644
--- a/src/handlers/mod.rs
+++ b/src/handlers/mod.rs
@@ -189,7 +189,7 @@ impl SelectionHandler for State {
let buf = user_data.clone();
thread::spawn(move || {
- // Clear O_NONBLOCK, otherwise io::copy() will stop halfway.
+ // Clear O_NONBLOCK, otherwise File::write_all() will stop halfway.
if let Err(err) = fcntl_setfl(&fd, OFlags::empty()) {
warn!("error clearing flags on selection target fd: {err:?}");
}