diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-05-15 16:51:43 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-05-15 16:51:43 +0400 |
| commit | 496cd59df98620e0e861ed9719321d64f3f636c9 (patch) | |
| tree | b69422f79c0d206bc2dfbf6aa3f9fcab54e59618 | |
| parent | 3e385d5c4868b4f7d65ac1f86659c607a7a919cc (diff) | |
| download | niri-496cd59df98620e0e861ed9719321d64f3f636c9.tar.gz niri-496cd59df98620e0e861ed9719321d64f3f636c9.tar.bz2 niri-496cd59df98620e0e861ed9719321d64f3f636c9.zip | |
Use correct function name in comment
| -rw-r--r-- | src/handlers/mod.rs | 2 |
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:?}"); } |
