From: Ian Jackson Date: Mon, 16 May 2022 15:07:08 +0000 (+0100) Subject: not working X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=164763fa2d45b6d2daf7ff845ca2438249a3b302;p=rust-experiments.git not working --- diff --git a/src/main.rs b/src/main.rs index 7c5ed11..c471aae 100644 --- a/src/main.rs +++ b/src/main.rs @@ -16,7 +16,9 @@ impl Ish for Inner { const fn plus (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[..], ) }; }