diff options
Diffstat (limited to 'src/libextra/sha1.rs')
| -rw-r--r-- | src/libextra/sha1.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libextra/sha1.rs b/src/libextra/sha1.rs index 8910442849e..7b38c031774 100644 --- a/src/libextra/sha1.rs +++ b/src/libextra/sha1.rs @@ -295,7 +295,7 @@ mod tests { let mut i = 0; let mut rs = ~""; while i < 100000 { - str::push_str(&mut rs, ~"aaaaaaaaaa"); + rs.push_str("aaaaaaaaaa"); i += 1; } return rs; |
