Rollup merge of #22009 - japaric:no-mov, r=alexcrichton

If you were still using `MaybeOwnedVector`, update your code to use `CowVec`.

[breaking-change]

---

We already removed `MaybeOwned` (the string equivalent) long time ago and with a much shorter deprecation period. It's time to let go.
This commit is contained in:
Manish Goregaokar 2015-02-07 00:44:31 +05:30
commit df7db970dc
3 changed files with 1 additions and 170 deletions

View file

@ -17,7 +17,6 @@ extern crate graphviz;
extern crate "flate" as myflate;
use graphviz::maybe_owned_vec::MaybeOwnedVector;
use std::collections::{HashMap,HashSet};
use std::cell::RefCell;
use std::old_io::stdio::println;
@ -35,7 +34,7 @@ use std::mem::size_of;
static uni: &'static str = "Les Miséééééééérables";
static yy: usize = 25us;
static bob: Option<graphviz::maybe_owned_vec::MaybeOwnedVector<'static, isize>> = None;
static bob: Option<std::vec::CowVec<'static, isize>> = None;
// buglink test - see issue #1337.