Remove a rogue println statement (ugh)

This commit is contained in:
Simonas Kazlauskas
2017-03-25 11:29:08 +02:00
parent f23493e47d
commit dafffd62a2
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "libloading"
version = "0.3.3"
version = "0.3.4"
authors = ["Simonas Kazlauskas <libloading@kazlauskas.me>"]
build = "build.rs"
description = "A safer binding to platforms dynamic library loading utilities"
+5
View File
@@ -1,5 +1,10 @@
//! Project changelog
/// Release 0.3.4 (2017-03-25)
///
/// * Remove rogue println!
pub mod r0_3_4 {}
/// Release 0.3.3 (2017-03-25)
///
/// * Panics when `Library::get` is called for incompatibly sized type such as named function
-2
View File
@@ -55,8 +55,6 @@ pub fn ensure_compatible_types<T, E>() {
fn dopanic() {
panic!("value of requested type cannot be dynamically loaded");
}
println!("{:?}", ::std::mem::size_of::<T>());
if ::std::mem::size_of::<T>() != ::std::mem::size_of::<E>() {
dopanic()
}