about summary refs log tree commit diff
path: root/library/core/src/convert
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2024-03-19 09:34:31 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2024-03-20 08:49:13 -0400
commit02f193059528c6dd93f042ce277094f1d14cae77 (patch)
tree29c6bd403851ec418f7f5241b3c8b74cd7aecbd4 /library/core/src/convert
parente4c58eb8da4ccd3af97b0254d2a3ed33a84b7cca (diff)
step cfgs
Diffstat (limited to 'library/core/src/convert')
-rw-r--r--library/core/src/convert/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/convert/mod.rs b/library/core/src/convert/mod.rs
index 63fd23ea9a9..432e55e8c9a 100644
--- a/library/core/src/convert/mod.rs
+++ b/library/core/src/convert/mod.rs
@@ -396,7 +396,7 @@ pub trait AsMut<T: ?Sized> {
 /// For example, take this code:
 ///
 /// ```
-/// # #![cfg_attr(not(bootstrap), allow(non_local_definitions))]
+/// # #![allow(non_local_definitions)]
 /// struct Wrapper<T>(Vec<T>);
 /// impl<T> From<Wrapper<T>> for Vec<T> {
 ///     fn from(w: Wrapper<T>) -> Vec<T> {