Fix consistency in how run_loop variables are named

This commit is contained in:
Linus Färnstrand
2018-01-21 17:21:38 +01:00
parent 637552ea4a
commit 238756492f
+2 -2
View File
@@ -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;