Skip to content

Commit

Permalink
std: Replace Durable with 'static
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed May 7, 2013
1 parent 398cd18 commit ccc4c1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/deque.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ fn get<'r, T>(elts: &'r [Option<T>], i: uint) -> &'r T {
mod tests {
use super::*;
use core::cmp::Eq;
use core::kinds::{Durable, Copy};
use core::kinds::Copy;

#[test]
fn test_simple() {
Expand Down Expand Up @@ -232,7 +232,7 @@ mod tests {
}

#[cfg(test)]
fn test_parameterized<T:Copy + Eq + Durable>(a: T, b: T, c: T, d: T) {
fn test_parameterized<T:Copy + Eq>(a: T, b: T, c: T, d: T) {
let mut deq = Deque::new();
assert!(deq.len() == 0);
deq.add_front(a);
Expand Down

0 comments on commit ccc4c1a

Please sign in to comment.