]> git.lizzy.rs Git - rust.git/blobdiff - library/alloc/src/vec/mod.rs
Auto merge of #88343 - steffahn:fix_code_spacing, r=jyn514
[rust.git] / library / alloc / src / vec / mod.rs
index 347750cc1645d433f7c2ebc04c1e9ce5c51d36f6..2ee91f88d3c224a50dbe8c0c15d3421ad7ea554d 100644 (file)
@@ -2843,6 +2843,7 @@ fn from(s: &mut [T]) -> Vec<T> {
     }
 }
 
+#[cfg(not(no_global_oom_handling))]
 #[stable(feature = "vec_from_array", since = "1.44.0")]
 impl<T, const N: usize> From<[T; N]> for Vec<T> {
     #[cfg(not(test))]