kennytm

Results 391 comments of kennytm

Will this RFC or the future consider commitment about multi-colored items 1. multi-colored blocks does not seem worthwhile. `K9 { K7 { K8 { $expr } } }` is clearer...

This should have been fixed by Homebrew/homebrew-core#201853, but it seems the change is not correctly "bottled" so the prebuilt binaries are still missing the plugin `.so`s.

with label-break-value this is supported as: ```rust let result = 'result: { for counter in 0..5 { if counter == 3 { break 'result counter; } } -7 }; ```...

> Also, clippy could warn .todo separately from .expect clippy could easily warn `.expect("TODO")` differently from other generic `.expect(...)`

> The disadvantage of this is that one is able to replace an existing peeked value that is not `None`, which is a footgun. The `unpeek` method could panic in...

`Peekable` has implemented FusedIterator + ExactSizeIterator + TrustedLen (if `I` also implements them), would allowing unpeeking (thus changing the result of the following `iter.next()`) cause these guarantees to be violated?...