From 24c09dfcbea47b8835e5fdb0339b1130de3f161e Mon Sep 17 00:00:00 2001 From: David Vogel Date: Sun, 16 Nov 2025 12:05:09 +0000 Subject: [PATCH] Update VersionString comment --- caller.go | 2 +- cli.go | 2 +- docker.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/caller.go b/caller.go index c48a2d2..e23ea5b 100644 --- a/caller.go +++ b/caller.go @@ -13,7 +13,7 @@ import "io" // Caller contains all Typst commands that are supported by this library. type Caller interface { - // VersionString returns the version string as returned by Typst. + // VersionString returns the Typst version as a string. VersionString() (string, error) // Fonts returns all fonts that are available to Typst. diff --git a/cli.go b/cli.go index 0466ee1..6afbee2 100644 --- a/cli.go +++ b/cli.go @@ -22,7 +22,7 @@ type CLI struct { // Ensure that CLI implements the Caller interface. var _ Caller = CLI{} -// VersionString returns the version string as returned by Typst. +// VersionString returns the Typst version as a string. func (c CLI) VersionString() (string, error) { // Get path of executable. execPath := ExecutablePath diff --git a/docker.go b/docker.go index e941f6f..cc571eb 100644 --- a/docker.go +++ b/docker.go @@ -38,7 +38,7 @@ type Docker struct { // Ensure that Docker implements the Caller interface. var _ Caller = Docker{} -// VersionString returns the version string as returned by Typst. +// VersionString returns the Typst version as a string. func (d Docker) VersionString() (string, error) { image := DockerDefaultImage if d.Image != "" {