aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-05-15 16:51:43 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-05-15 16:51:43 +0400
commit496cd59df98620e0e861ed9719321d64f3f636c9 (patch)
treeb69422f79c0d206bc2dfbf6aa3f9fcab54e59618
parent3e385d5c4868b4f7d65ac1f86659c607a7a919cc (diff)
downloadniri-496cd59df98620e0e861ed9719321d64f3f636c9.tar.gz
niri-496cd59df98620e0e861ed9719321d64f3f636c9.tar.bz2
niri-496cd59df98620e0e861ed9719321d64f3f636c9.zip
Use correct function name in comment
-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:?}");
}