#rustlang: is ‘let a = [ 1u8, 2, 3 ]’ the only way to init u8 array without counting items by hand? ‘let a : [u8] =[1,2,3]’ etc doesn’t work
-
-
-
Replying to @rustlang
yep, I wondered why the compiler isn’t able to deduce just the count in the array type, e.g. smth like "let a: [u8,_] = [1,2,3];"
1 reply 0 retweets 0 likes
Replying to @FlohOfWoe
ah. It's technically feasible, but I'm not sure anyone has proposed it
10:47 AM - 26 Jun 2016
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.