]> git.lizzy.rs Git - rust.git/commitdiff
Replace deprecated `collections::Bound`
authorbstrie <865233+bstrie@users.noreply.github.com>
Wed, 17 Mar 2021 22:34:44 +0000 (18:34 -0400)
committerbstrie <865233+bstrie@users.noreply.github.com>
Wed, 17 Mar 2021 22:34:44 +0000 (18:34 -0400)
src/shims/tls.rs

index ef77949efada506ffd5e6356c577c8827605fe7b..3339e3bee19990d2378759a9803fca3d842abdbf 100644 (file)
@@ -174,7 +174,7 @@ fn fetch_tls_dtor(
         key: Option<TlsKey>,
         thread_id: ThreadId,
     ) -> Option<(ty::Instance<'tcx>, Scalar<Tag>, TlsKey)> {
-        use std::collections::Bound::*;
+        use std::ops::Bound::*;
 
         let thread_local = &mut self.keys;
         let start = match key {