From efaf4db24c92e119e26dc575ffd6bfd3b91fb87d Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Sun, 23 Feb 2014 21:29:35 +1100 Subject: Transition to new `Hash`, removing IterBytes and std::to_bytes. --- src/libsyntax/opt_vec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/opt_vec.rs') diff --git a/src/libsyntax/opt_vec.rs b/src/libsyntax/opt_vec.rs index 21f05fa684a..3abd411a003 100644 --- a/src/libsyntax/opt_vec.rs +++ b/src/libsyntax/opt_vec.rs @@ -17,7 +17,7 @@ use std::vec; -#[deriving(Clone, Encodable, Decodable, IterBytes)] +#[deriving(Clone, Encodable, Decodable, Hash)] pub enum OptVec { Empty, Vec(~[T]) -- cgit 1.4.1-3-g733a5