mirror of
https://github.com/sharkdp/bat.git
synced 2025-01-31 02:01:05 +00:00
a81009607a
Or rather, introduce new versions of these methods and deprecate the old ones. This is preparation to enable robust and user-friendly support for lazy-loading. With lazy-loading, we don't know if the SyntaxSet is valid until after we try to use it, so wherever we try to use it, we need to return a Result. See discussion about panics in #1747.