Skip to content

Commit

Permalink
remove the deprecated MaybeOwnedVector
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Aparicio committed Feb 6, 2015
1 parent f3573aa commit 67ee26d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 170 deletions.
3 changes: 0 additions & 3 deletions src/libgraphviz/lib.rs
Expand Up @@ -278,7 +278,6 @@
#![feature(collections)]
#![feature(core)]
#![feature(io)]
#![feature(path)]

use self::LabelText::*;

Expand All @@ -287,8 +286,6 @@ use std::old_io;
use std::string::CowString;
use std::vec::CowVec;

pub mod maybe_owned_vec;

/// The text for a graphviz label on a node or edge.
pub enum LabelText<'a> {
/// This kind of label preserves the text directly as is.
Expand Down
165 changes: 0 additions & 165 deletions src/libgraphviz/maybe_owned_vec.rs

This file was deleted.

3 changes: 1 addition & 2 deletions src/test/run-make/save-analysis/foo.rs
Expand Up @@ -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;
Expand All @@ -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.

Expand Down

0 comments on commit 67ee26d

Please sign in to comment.