mirror of
https://git.intege.rs/xlib/x.git
synced 2025-12-05 20:35:01 +00:00
const blocks for lazy import
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
use std::mem::offset_of;
|
||||
use x::win32::ImageOptionalHeader64;
|
||||
|
||||
#[test]
|
||||
pub fn test_distance() {
|
||||
let _ = x::dur![ 5 days 4 hours 7 minutes 2 seconds 2 minutes ];
|
||||
@@ -24,4 +27,4 @@ pub fn test_distance() {
|
||||
x::iterate(b).cloned().take_while(|&c| c != 0))
|
||||
.filter_map(|_r| _r.ok()).collect();
|
||||
assert_eq!("Hello World", hello_world);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user