ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/cli
Yuya Nishihara 2916bbbec5 templater: allow use of wrap_<type>() functions without borrowing &language
These .wrap_<type>() functions aren't supposed to capture resources from the
language instance. It was convenient that wrap_() could be called without fully
spelling the language type, but doing that would introduce lifetime issue in
later patches.

I added type alias L to several places because the language type is usually
called L in generic code.
2024-03-22 11:51:15 +09:00
..
examples templater: allow use of wrap_<type>() functions without borrowing &language 2024-03-22 11:51:15 +09:00
src templater: allow use of wrap_<type>() functions without borrowing &language 2024-03-22 11:51:15 +09:00
testing revset: substitute '~(::x)' to 'x..' 2024-03-17 14:50:48 +09:00
tests Make node symbols templatable in the graphs. 2024-03-21 17:41:31 +01:00
build.rs
Cargo.toml
LICENSE