mark the map method on Vec<T> as deprecated

This exists for the sake of compatibility during the ~[T] -> Vec<T>
transition. It will be removed in the future.
This commit is contained in:
Daniel Micay
2014-03-04 19:23:57 -05:00
parent 6e7f170fed
commit 15adaf6f3e
3 changed files with 3 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ This API is completely unstable and subject to change.
#[allow(unknown_features)];// Note: remove it after a snapshot.
#[feature(quote)];
#[allow(deprecated)];
#[deny(non_camel_case_types)];
extern crate serialize;