diff --git a/src/endian.rs b/src/endian.rs index 0778dfd..98e0cb4 100644 --- a/src/endian.rs +++ b/src/endian.rs @@ -121,8 +121,8 @@ mod tests { } assert_eq!(dispatch_sub:: as *const (), dispatch_sub:: as *const ()); - assert!(dispatch_sub:: as *const () != - dispatch_sub:: as *const ()); + assert_ne!(dispatch_sub:: as *const (), + dispatch_sub:: as *const ()); } #[test]