From d6837d83e7896906bef379d8d1b254d77c4e9da1 Mon Sep 17 00:00:00 2001 From: John Speed Meyers Date: Sat, 14 Jan 2023 10:59:32 -0500 Subject: [PATCH] Fix function doc The Save2_3 function documentation in the spdx_json module appears to be out of date. Signed-off-by: John Speed Meyers --- json/writer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json/writer.go b/json/writer.go index 8f2b94dc..f7da55b7 100644 --- a/json/writer.go +++ b/json/writer.go @@ -25,7 +25,7 @@ func Save2_2(doc *v2_2.Document, w io.Writer) error { return nil } -// Save2_3 takes an SPDX Document (version 2.2) and an io.Writer, and writes the document to the writer in JSON format. +// Save2_3 takes an SPDX Document (version 2.3) and an io.Writer, and writes the document to the writer in JSON format. func Save2_3(doc *v2_3.Document, w io.Writer) error { buf, err := json.Marshal(doc) if err != nil {