diff options
| author | OGINO Masanori <masanori.ogino@gmail.com> | 2014-02-08 14:38:14 +0900 |
|---|---|---|
| committer | OGINO Masanori <masanori.ogino@gmail.com> | 2014-02-08 15:08:44 +0900 |
| commit | d4898e72e3114efb5076f0fdf28649578f7d9c9f (patch) | |
| tree | fca8af06039a1e30932cb35cd1f2e08d50643c30 /src/libstd | |
| parent | f7eb7052484fa56d789778ea66039b17add4e033 (diff) | |
| download | rust-d4898e72e3114efb5076f0fdf28649578f7d9c9f.tar.gz rust-d4898e72e3114efb5076f0fdf28649578f7d9c9f.zip | |
Remove an unused variable in a test of std::c_str.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/c_str.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstd/c_str.rs b/src/libstd/c_str.rs index 6fc31b673ac..fdef7e36bd5 100644 --- a/src/libstd/c_str.rs +++ b/src/libstd/c_str.rs @@ -524,7 +524,6 @@ mod tests { #[test] fn test_to_c_str_fail() { use task; - let mut error_happened = false; assert!(task::try(proc() { "he\x00llo".to_c_str() }).is_err()); } |
