mirror of
https://github.com/jj-vcs/jj.git
synced 2025-12-23 06:01:01 +00:00
This patch also adds .downcast*() wrappers to prevent misuse of as &Any casting. The compiler wouldn't help detect &Arc<T> as &Any, for example. https://blog.rust-lang.org/2025/04/03/Rust-1.86.0/#trait-upcasting |
||
|---|---|---|
| .. | ||
| main.rs | ||