diff options
| author | Lzu Tao <taolzu@gmail.com> | 2020-07-10 15:59:25 +0000 |
|---|---|---|
| committer | Lzu Tao <taolzu@gmail.com> | 2020-07-12 14:51:04 +0000 |
| commit | 1e05e09fe9df9919dc1c1c0f36255f4f1098fc24 (patch) | |
| tree | f84663d78583ad12e2ab987b0ae8632c1fb60ae1 | |
| parent | 9a8b516de046ac909f22f0280e1a8a0d87ba0d06 (diff) | |
| download | rust-1e05e09fe9df9919dc1c1c0f36255f4f1098fc24.tar.gz rust-1e05e09fe9df9919dc1c1c0f36255f4f1098fc24.zip | |
Remove the useless indentation
| -rw-r--r-- | src/libstd/thread/mod.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs index d435ca68425..d354a9b1842 100644 --- a/src/libstd/thread/mod.rs +++ b/src/libstd/thread/mod.rs @@ -641,9 +641,8 @@ where #[stable(feature = "rust1", since = "1.0.0")] pub fn current() -> Thread { thread_info::current_thread().expect( - "use of std::thread::current() is not \ - possible after the thread's local \ - data has been destroyed", + "use of std::thread::current() is not possible \ + after the thread's local data has been destroyed", ) } |
