martinvonz / jj

A Git-compatible VCS that is both simple and powerful
https://martinvonz.github.io/jj/
Apache License 2.0
7.24k stars 240 forks source link

templater: use .map_or() to silence clippy without sacrificing readability #3992

Closed yuja closed 3 days ago

yuja commented 3 days ago

Checklist

If applicable:

ilyagr commented 3 days ago

Cc: https://github.com/rust-lang/rust-clippy/issues/13018