summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-05-26 16:28:39 +0900
committerYuki Okushi <huyuumi.dev@gmail.com>2020-05-26 16:28:39 +0900
commit0c4f9be46c393f9b76f30b76ab85b310f1972cf2 (patch)
treea0a08f25b976a60661f65fc5dc800104c5000760
parent012444055e034e6fafd5e1e40475d1c8fa06aa5a (diff)
downloadrust-libc-0c4f9be46c393f9b76f30b76ab85b310f1972cf2.tar.gz
Import `core::ops` to use `Range` syntax
This is required on rust-lang/rust.
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 8c4f6b1d34..6c4cbf7ae8 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -39,6 +39,8 @@ cfg_if! {
#[allow(unused_imports)]
use core::iter;
#[allow(unused_imports)]
+ use core::ops;
+ #[allow(unused_imports)]
use core::option;
}
}