aboutsummaryrefslogtreecommitdiff
path: root/macros/src/codegen/resources.rs
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2019-10-15 19:12:05 -0500
committerGravatar Jorge Aparicio <jorge@japaric.io> 2019-10-15 19:31:46 -0500
commita458a0703153f17ae9170ea88a38348ebd290388 (patch)
tree8a49a452b32fb5487eed34971fc755762477fef7 /macros/src/codegen/resources.rs
parent6207008884c6ae8e465933a445cca796a43d1b53 (diff)
downloadrtic-a458a0703153f17ae9170ea88a38348ebd290388.tar.gz
rtic-a458a0703153f17ae9170ea88a38348ebd290388.tar.zst
rtic-a458a0703153f17ae9170ea88a38348ebd290388.zip
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 'macros/src/codegen/resources.rs')
0 files changed, 0 insertions, 0 deletions