3 ms·
Another one I've seen discussed is mem::size_of[T](). Though I can't find any references about it online.
by keeperofdakeys 12y ago
Another one I've seen discussed is mem::size_of[T](). Though I can't find any references about it online.
- steveklabnik 12y agoThere was an RFC: https://github.com/rust-lang/rfcs/pull/148 https://github.com/rust-lang/rfcs/pull/148 The author closed it after finding that there were no non-subjective reasons. Moving to []s causes other ambiguities.