summaryrefslogtreecommitdiffstats
path: root/glutin
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-10-29 10:26:33 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-10-29 10:27:18 +0100
commitdd1b1cac0ae76655bd81d20e4b245f5afc1bde61 (patch)
treeaca5875913028a66362bd65b29cfeb1f6556d0a1 /glutin
parentb40775fb7414b44307e343921ef015c65a916dab (diff)
downloadiced-dd1b1cac0ae76655bd81d20e4b245f5afc1bde61.tar.gz
iced-dd1b1cac0ae76655bd81d20e4b245f5afc1bde61.tar.bz2
iced-dd1b1cac0ae76655bd81d20e4b245f5afc1bde61.zip
Accept a function pointer in `Subscription::map`
Instead of a closure, a function pointer can be hashed and used to uniquely identify a particular `Subscription`. This should fix a bug where two different instances of `Subscription` producing the same output were not treated differently by the runtime, causing one of them to be ignored.
Diffstat (limited to 'glutin')
0 files changed, 0 insertions, 0 deletions