Mercurial > crates > nonstick
view .gitignore @ 12:30831c70e5c0
Remove PhantomData usage.
PhantomData is used through the library to substitute associated
constants (to types). However, calling
`PamItem::item_type(PhantomData<T>)` can easily be substituted by
calling `T::item_type()`, getting rid of the need for PhantomData.
author | Marc Brinkmann <git@marcbrinkmann.de> |
---|---|
date | Sun, 26 Feb 2017 12:12:36 +0100 |
parents | b195a14058bb |
children | 27730595f1ea |
line wrap: on
line source
# Compiled files *.o *.so *.rlib *.dll # Executables *.exe # Generated by Cargo /target/ Cargo.lock # Override top-level .gitignore in Misc repo !src/tozny