From c9cf6bab92e5d08f4f42dc9ce2da579bf0fbe7e2 Mon Sep 17 00:00:00 2001 From: Niklas Eicker Date: Sat, 19 Jul 2025 10:11:59 +0200 Subject: [PATCH] Clarifications in docs --- crates/typst-syntax/src/package.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/typst-syntax/src/package.rs b/crates/typst-syntax/src/package.rs index 40aa71738..90befb704 100644 --- a/crates/typst-syntax/src/package.rs +++ b/crates/typst-syntax/src/package.rs @@ -143,7 +143,7 @@ pub struct PackageInfo { } impl PackageManifest { - /// Create a new package manifest with the given info. + /// Create a new package manifest with the given package info. pub fn new(package: PackageInfo) -> Self { PackageManifest { package, @@ -184,7 +184,7 @@ impl PackageManifest { } impl TemplateInfo { - /// Create a new template info with only required content. + /// Create a new template info with only required fields. pub fn new(path: impl Into, entrypoint: impl Into) -> Self { TemplateInfo { path: path.into(), @@ -196,7 +196,7 @@ impl TemplateInfo { } impl PackageInfo { - /// Create a new package info with only required content. + /// Create a new package info with only required fields. pub fn new( name: impl Into, version: PackageVersion,