aboutsummaryrefslogtreecommitdiff
path: root/book/en/src/by-example
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2019-10-15 19:12:05 -0500
committerJorge Aparicio <jorge@japaric.io>2019-10-15 19:31:46 -0500
commita458a0703153f17ae9170ea88a38348ebd290388 (patch)
tree8a49a452b32fb5487eed34971fc755762477fef7 /book/en/src/by-example
parent6207008884c6ae8e465933a445cca796a43d1b53 (diff)
cyccnt::Instant: simplify the Send / Sync impl
originally the type was made `!Send` because it loses its meaning when send from one core to another but that was an incorrect use of the `Send` bound (the send operation makes the value incorrect but that doesn't cause memory unsafety on its own). So later the type was (explicitly) made `Send` again resulting in a convoluted implementation -- this commit simplifies things.
Diffstat (limited to 'book/en/src/by-example')
0 files changed, 0 insertions, 0 deletions