René Kijewski

Results 102 comments of René Kijewski

@qwandor, thank you for the explanation!

Evaluating `/etc/TIMEZONE` is implemented in iana-time-zone: [tz_illumos.rs](https://github.com/strawlab/iana-time-zone/blob/0c4c1596484eb1d3870542f635cc22609dd82e45/src/tz_illumos.rs)

> Wouldn't it be better to support if let Some(value) = val instead? I think it is.

`{% if let Some(x) = y %}` is already implemented: . Or do I misunderstand what you mean?

I am in favor of the new filters, too! `{{ data|display_some_or("?") }}` is much more readable than ```jinja2 {% if let Some(data) = data -%} {{ data }} {%- else...

When is a range on the left-hand side of an assignment valid? E.g. let `let start..end = range;` isn't, and I could not think of another example.

In the meantime using `i64::from(51)` should work.

Sorry, I'm kinda overwhelmed by work right now and did not see the message. Of course, fine with me. Welcome, @GuillaumeGomez! :)

I think we can omit the explicit lifetimes: ```rust pub struct DisplaySome(Option); impl fmt::Display for DisplaySome { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match self { Self::Value(val) =>...