summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbindgen/src/clang.rs2
-rw-r--r--libbindgen/src/ir/ty.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/libbindgen/src/clang.rs b/libbindgen/src/clang.rs
index da4d3e4b..637823ea 100644
--- a/libbindgen/src/clang.rs
+++ b/libbindgen/src/clang.rs
@@ -1278,7 +1278,7 @@ impl EvalResult {
/// Create a dummy EvalResult.
pub fn new(_: Cursor) -> Self {
EvalResult {
- x: ::std::ptr::null_mut(),
+ x: ptr::null_mut(),
}
}
diff --git a/libbindgen/src/ir/ty.rs b/libbindgen/src/ir/ty.rs
index 48fd65bb..1cd255a5 100644
--- a/libbindgen/src/ir/ty.rs
+++ b/libbindgen/src/ir/ty.rs
@@ -123,7 +123,7 @@ impl Type {
Self::new(Some(name), None, kind, false)
}
- /// Is this an floating point type?
+ /// Is this a floating point type?
pub fn is_float(&self) -> bool {
match self.kind {
TypeKind::Float(..) => true,