From 351409a62287c7993bc680d9dfcfa13cba9c9c0c Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sat, 3 Jan 2015 22:54:18 -0500 Subject: sed -i -s 's/#\[deriving(/#\[derive(/g' **/*.rs --- src/libstd/c_str.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/c_str.rs') diff --git a/src/libstd/c_str.rs b/src/libstd/c_str.rs index f81f23885f5..4fb4f220c59 100644 --- a/src/libstd/c_str.rs +++ b/src/libstd/c_str.rs @@ -498,7 +498,7 @@ fn check_for_null(v: &[u8], buf: *mut libc::c_char) { /// /// Use with the `std::iter` module. #[allow(raw_pointer_deriving)] -#[deriving(Clone)] +#[derive(Clone)] pub struct CChars<'a> { ptr: *const libc::c_char, marker: marker::ContravariantLifetime<'a>, -- cgit 1.4.1-3-g733a5