Enable clippy pedantic lints
diff --git a/src/expr.rs b/src/expr.rs
index ac55c98..a0078b6 100644
--- a/src/expr.rs
+++ b/src/expr.rs
@@ -637,7 +637,7 @@
 
 impl From<usize> for Index {
     fn from(index: usize) -> Index {
-        assert!(index < std::u32::MAX as usize);
+        assert!(index < u32::max_value() as usize);
         Index {
             index: index as u32,
             span: Span::call_site(),