Skip to content

Commit

Permalink
Merge pull request #181 from jspeed-meyers/patch-1
Browse files Browse the repository at this point in the history
Fix function documentation
  • Loading branch information
lumjjb authored Jan 17, 2023
2 parents 843bc98 + d6837d8 commit ba70e46
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 ba70e46

Please sign in to comment.