diff options
author | 2020-10-29 10:26:33 +0100 | |
---|---|---|
committer | 2020-10-29 10:27:18 +0100 | |
commit | dd1b1cac0ae76655bd81d20e4b245f5afc1bde61 (patch) | |
tree | aca5875913028a66362bd65b29cfeb1f6556d0a1 /glutin | |
parent | b40775fb7414b44307e343921ef015c65a916dab (diff) | |
download | iced-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