Update to 1.9.0

This commit is contained in:
Thinkofname 2016-03-25 20:56:45 +00:00
parent ce6f5c963c
commit 780676ec65
1 changed files with 1 additions and 2 deletions

View File

@ -29,8 +29,7 @@ pub struct MetadataKey<T: MetaValue> {
impl <T: MetaValue> MetadataKey<T> {
#[allow(dead_code)]
// TODO: Make const later when possible
/*const*/ fn new(index: i32) -> MetadataKey<T> {
const fn new(index: i32) -> MetadataKey<T> {
MetadataKey {
index: index,
ty: PhantomData,