diff options
| author | Brian Anderson <banderson@mozilla.com> | 2014-04-25 01:08:02 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2014-05-02 23:00:58 -0700 |
| commit | a5be12ce7e88c1d28de1c98215991127d1e765f0 (patch) | |
| tree | 30f160f43a354c79a6795c638c3302d234ec0b52 /src/libstd/hash | |
| parent | a67307e2a56b0d6bc57c3dc18f58e79744e98434 (diff) | |
Replace most ~exprs with 'box'. #11779
Diffstat (limited to 'src/libstd/hash')
| -rw-r--r-- | src/libstd/hash/sip.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/hash/sip.rs b/src/libstd/hash/sip.rs index eae13735809..3c1d5897e38 100644 --- a/src/libstd/hash/sip.rs +++ b/src/libstd/hash/sip.rs @@ -467,7 +467,7 @@ mod tests { } fn result_bytes(h: u64) -> ~[u8] { - ~[(h >> 0) as u8, + box [(h >> 0) as u8, (h >> 8) as u8, (h >> 16) as u8, (h >> 24) as u8, |
