From a679d89945f2c39b62367fe38330780a7d064920 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 16 May 2022 16:27:07 +0100 Subject: [PATCH] Y --- src/main.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index de3f0a3..454b375 100644 --- a/src/main.rs +++ b/src/main.rs @@ -14,7 +14,9 @@ struct Concat( [S; B], ); -trait Ish { const N: usize; } +trait Ish { + const N: usize; +} trait Has { const F: [S; N]; @@ -23,7 +25,7 @@ trait Has { struct Inner { i: usize, } impl Ish for Inner { - const N: usize = 1; + const N: usize = ; } impl Has<1> for Inner { const F: [S; 1] = ["i"]; -- 2.30.2