]> git.lizzy.rs Git - rust.git/commit
simplify len macro: No longer require the type
authorRalf Jung <post@ralfj.de>
Sat, 28 Jul 2018 11:55:17 +0000 (13:55 +0200)
committerRalf Jung <post@ralfj.de>
Wed, 1 Aug 2018 22:33:04 +0000 (00:33 +0200)
commitb0a82d9314083cad0c985c8f5f752749c9ae96ca
tree4b0fb17b942cc4c92d39d052fb411d9820eaada0
parent3e3ff4b6526c19b5bb5dd67a9431479244874ed3
simplify len macro: No longer require the type

Also use ident, not expr, to avoid accidental side-effects
src/libcore/slice/mod.rs