diff options
author | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-11-16 22:12:13 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-11-16 22:12:13 +0100 |
commit | 19d36d436ec8674604ea53a249fc8a952eab2d33 (patch) | |
tree | 6a4e715e1ede2b031debaa40baee923f66c8044c | |
parent | 2468fb2baf502159558e83a9457d5d74f793c6fb (diff) |
Address review comments.
-rw-r--r-- | libbindgen/src/clang.rs | 2 | ||||
-rw-r--r-- | libbindgen/src/ir/ty.rs | 2 |
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, |