From 238756492fff0823bae28645c177d57e68ef0bfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20F=C3=A4rnstrand?= Date: Sun, 21 Jan 2018 17:21:38 +0100 Subject: [PATCH] Fix consistency in how run_loop variables are named --- core-foundation/src/filedescriptor.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core-foundation/src/filedescriptor.rs b/core-foundation/src/filedescriptor.rs index ac2ffc8..f876b21 100644 --- a/core-foundation/src/filedescriptor.rs +++ b/core-foundation/src/filedescriptor.rs @@ -164,11 +164,11 @@ mod test { assert!(cf_fd.valid()); - let runloop = CFRunLoop::get_current(); + let run_loop = CFRunLoop::get_current(); let source = CFRunLoopSource::from_file_descriptor(&cf_fd, 0); assert!(source.is_some()); unsafe { - runloop.add_source(&source.unwrap(), kCFRunLoopDefaultMode); + run_loop.add_source(&source.unwrap(), kCFRunLoopDefaultMode); } info.value = 0;