about summary refs log tree commit diff
path: root/library/core/src/ptr/alignment.rs
diff options
context:
space:
mode:
authorDaniel Paoliello <danpao@microsoft.com>2024-03-25 11:02:02 -0700
committerDaniel Paoliello <danpao@microsoft.com>2024-03-25 13:12:06 -0700
commitd261647c93380d5ed535c5ed2f176792f4d74d6c (patch)
treedf5d51f89bcfe3512d85bab4c3ab60134f3ec46a /library/core/src/ptr/alignment.rs
parentcb7c63606e53715f94f3ba04d38e50772e4cd23d (diff)
downloadrust-d261647c93380d5ed535c5ed2f176792f4d74d6c.tar.gz
rust-d261647c93380d5ed535c5ed2f176792f4d74d6c.zip
Import the 2021 prelude in the core crate
Diffstat (limited to 'library/core/src/ptr/alignment.rs')
-rw-r--r--library/core/src/ptr/alignment.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/library/core/src/ptr/alignment.rs b/library/core/src/ptr/alignment.rs
index bc84fb5ccb0..68fce3960c7 100644
--- a/library/core/src/ptr/alignment.rs
+++ b/library/core/src/ptr/alignment.rs
@@ -1,4 +1,3 @@
-use crate::convert::{TryFrom, TryInto};
 use crate::num::NonZero;
 #[cfg(debug_assertions)]
 use crate::ub_checks::assert_unsafe_precondition;