summaryrefslogtreecommitdiff
path: root/crates/typst-library/src/loading/csv.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/typst-library/src/loading/csv.rs')
-rw-r--r--crates/typst-library/src/loading/csv.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/typst-library/src/loading/csv.rs b/crates/typst-library/src/loading/csv.rs
index 1cf656ae..d01d687b 100644
--- a/crates/typst-library/src/loading/csv.rs
+++ b/crates/typst-library/src/loading/csv.rs
@@ -100,6 +100,7 @@ impl csv {
/// This function is deprecated. The [`csv`] function now accepts bytes
/// directly.
#[func(title = "Decode CSV")]
+ #[deprecated = "`csv.decode` is deprecated, directly pass bytes to `csv` instead"]
pub fn decode(
engine: &mut Engine,
/// CSV data.