diff options
| author | Mateusz Mikuła <matti@marinelayer.io> | 2019-09-05 13:30:30 +0200 |
|---|---|---|
| committer | Mateusz Mikuła <mati865@gmail.com> | 2019-10-22 19:23:10 +0200 |
| commit | 95c06a29707c8b2f811495c05b0cd009743e29de (patch) | |
| tree | 78374dc1757b47bc5c54e9095da0e66395c889c0 /src/libstd/sys/windows/thread_local.rs | |
| parent | dffc1b32820d740b3e2b3cf8e98b4d0511a62163 (diff) | |
| download | rust-95c06a29707c8b2f811495c05b0cd009743e29de.tar.gz rust-95c06a29707c8b2f811495c05b0cd009743e29de.zip | |
Apply clippy::needless_return suggestions
Diffstat (limited to 'src/libstd/sys/windows/thread_local.rs')
| -rw-r--r-- | src/libstd/sys/windows/thread_local.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/windows/thread_local.rs b/src/libstd/sys/windows/thread_local.rs index 4c9734fa0aa..728257cdd4b 100644 --- a/src/libstd/sys/windows/thread_local.rs +++ b/src/libstd/sys/windows/thread_local.rs @@ -52,7 +52,7 @@ pub unsafe fn create(dtor: Option<Dtor>) -> Key { if let Some(f) = dtor { register_dtor(key, f); } - return key; + key } #[inline] |
