Deprecate old default_theme function

This commit is contained in:
Tau Gärtli committed 2024-08-16 14:09:38 +02:00
1 parent 1423dd9440
commit de796392cf
1 file changed
+1
+1
View File
@@ -90,6 +90,7 @@ impl HighlightingAssets {
///
/// See <https://github.com/sharkdp/bat/issues/1746> and
/// <https://github.com/sharkdp/bat/issues/1928> for more context.
#[deprecated(note = "use bat::theme::theme instead")]
pub fn default_theme() -> &'static str {
#[cfg(not(target_os = "macos"))]
{