trait ResultIterator { type Item; type Error; fn next(&mut self) -> Result<Self::Item, Self::Error>; }
-
Show this thread
-
for elem in iterable { ... } catch e => { .... } が loop { match (*iterable).next() { Ok(elem) => { ... }, Err(e) => { ...; break } } } に脱糖される
1 reply 1 retweet 1 likeShow this thread -
みたいなのが欲しい
1 reply 1 retweet 0 likesShow this thread -
TODO: マクロでごにょごにょする
1 reply 0 retweets 0 likesShow this thread -
1 reply 0 retweets 0 likesShow this thread
11:23 PM - 29 Nov 2017
0 replies
0 retweets
0 likes
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.