about summary refs log tree commit diff
path: root/src/rt/rust_exchange_alloc.cpp
diff options
context:
space:
mode:
authorPalmer Cox <p@lmercox.com>2013-07-27 13:46:58 -0400
committerPalmer Cox <p@lmercox.com>2013-08-02 18:46:11 -0400
commit5b0155515505f0898d21d2dc49dd30e32a916264 (patch)
tree8207f0256410ab5b981ea5df15b706c82ce23f52 /src/rt/rust_exchange_alloc.cpp
parenta1bbd18dc1f5bf94b5cd4a0ff65c322c57467ebd (diff)
downloadrust-5b0155515505f0898d21d2dc49dd30e32a916264.tar.gz
rust-5b0155515505f0898d21d2dc49dd30e32a916264.zip
Sha2: Rearrage traits / impls / structs.
The code was arranged so that the core Sha2 code came first, and then
all of the various implementation of Digest followed along later. The
problem is that the Sha512 compression function code is far away from
the Sha512 Digest implementation, so, if you are trying to read over
the code, you need to scroll all around the file for no good reason. The
code was rearranged so that all of the Sha512 code is in one place and
all of the Sha256 code is in another and so that all impls for a struct
are near the definition of that struct.
Diffstat (limited to 'src/rt/rust_exchange_alloc.cpp')
0 files changed, 0 insertions, 0 deletions