about summary refs log tree commit diff
path: root/src/libstd/thread
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2019-02-05 09:03:39 +0100
committerDavid Wood <david@davidtw.co>2019-02-05 11:10:04 +0100
commitb377d0b14ce141b8ce6c9bb22c22b1fb12d8232f (patch)
treeb8a2924beaa9a67ffe4bc982f567313c3b41dbd0 /src/libstd/thread
parent8ae730a442cc8af6a487a137ae9ba78f89edbba6 (diff)
Fix span for closure return type when annotated.
This commit adjusts the span used to label closure return types so that
if the user specifies the return type, i.e. `|_| -> X {}` instead of
`|_| {}`, we correctly highlight all of it and not just the last
character.
Diffstat (limited to 'src/libstd/thread')
0 files changed, 0 insertions, 0 deletions