]> git.lizzy.rs Git - rust.git/commit
Lint against indexing and slicing
authorAdolfo Ochagavía <aochagavia92@gmail.com>
Fri, 11 Mar 2016 09:51:16 +0000 (10:51 +0100)
committerAdolfo Ochagavía <aochagavia92@gmail.com>
Fri, 11 Mar 2016 20:30:35 +0000 (21:30 +0100)
commit87ef5f4d3b300c893cb404ab1f62816b34e0ea4d
tree657775ecdef93b16cb82d1844ae7a47295ac3a1f
parent84587d1266ab1643229d6fe1ecb381d7977e1b58
Lint against indexing and slicing

This can be useful to prevent panics in a codebase. ATM it is a pedantic
lint, but in the future it should be added to the restricions group.
README.md
src/array_indexing.rs
src/lib.rs
tests/compile-fail/array_indexing.rs