From d50c0bdc47c0daad2d31e249b54008b669ba3aee Mon Sep 17 00:00:00 2001 From: Jack Moffitt Date: Mon, 1 Apr 2013 09:16:22 -0600 Subject: [PATCH] Change fail_unless! to assert! and remove unused import. --- ll.rs | 2 +- wapcaplet.rc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ll.rs b/ll.rs index 5d30a67..0ead55d 100644 --- a/ll.rs +++ b/ll.rs @@ -1,4 +1,4 @@ -use core::libc::{c_char, c_void, size_t}; +use core::libc::{c_char, size_t}; use core::libc::types::common::c99::uint32_t; #[nolink] diff --git a/wapcaplet.rc b/wapcaplet.rc index f36969a..67295d2 100644 --- a/wapcaplet.rc +++ b/wapcaplet.rc @@ -41,7 +41,7 @@ pub fn from_rust_string(s: &str) -> LwcString { require_ok(code); } - fail_unless!(interned_string.is_not_null()); + assert!(interned_string.is_not_null()); LwcString { string: interned_string