test: Replace Durable with 'static

This commit is contained in:
Brian Anderson 2013-05-07 17:50:27 -07:00
parent d8ef723d49
commit 1755eec87f
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
pub fn to_closure<A:Durable + Copy>(x: A) -> @fn() -> A {
pub fn to_closure<A:'static + Copy>(x: A) -> @fn() -> A {
let result: @fn() -> A = || copy x;
result
}