Mercurial > crates > nonstick
comparison Cargo.toml @ 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 | 2ec97116d72c |
children |
comparison
equal
deleted
inserted
replaced
11:827faa554528 | 12:30831c70e5c0 |
---|