chiark / gitweb /
not working
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 16 May 2022 15:07:08 +0000 (16:07 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 16 May 2022 15:07:08 +0000 (16:07 +0100)
src/main.rs

index 7c5ed1195657de6981c59e88e7a0263efc9230ea..c471aaee6d79e28012a49cc4851497fa4cbfcd8d 100644 (file)
@@ -16,7 +16,9 @@ impl Ish for Inner {
 
 const fn plus<const N: usize>
 (x: &'static [&'static str],
- b: &'static [&'static str])
+ b: &'static [&'static str],
+ ary: &mut [MaybeUninit<&'static str>],
+)
  -> &'static [&'static str]
 {
 //    unsafe {
@@ -33,7 +35,8 @@ impl Ish for Outer {
 
         plus::<{Inner::N + 1}>(
             Inner::F,
-            &["o"]
+            &["o"],
+            &mut ARY[..],
         )
     };
 }