Skip to content

Commit

Permalink
Fix function doc
Browse files Browse the repository at this point in the history
The Save2_3 function documentation in the spdx_json module appears to be out of date.
  • Loading branch information
jspeed-meyers authored Jan 14, 2023
1 parent 843bc98 commit a8e4132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a8e4132

Please sign in to comment.