Skip to content

Commit ccc4c1a

Browse files
committed
std: Replace Durable with 'static
1 parent 398cd18 commit ccc4c1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/deque.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ fn get<'r, T>(elts: &'r [Option<T>], i: uint) -> &'r T {
148148
mod tests {
149149
use super::*;
150150
use core::cmp::Eq;
151-
use core::kinds::{Durable, Copy};
151+
use core::kinds::Copy;
152152

153153
#[test]
154154
fn test_simple() {
@@ -232,7 +232,7 @@ mod tests {
232232
}
233233

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

0 commit comments

Comments
 (0)