Skip to content

Commit 60b6ed7

Browse files
author
Katrina Owen
committed
Fix incorrect doc comment for NewDocument
1 parent e5a7345 commit 60b6ed7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

workspace/document.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ type Document struct {
88
RelativePath string
99
}
1010

11-
// NewDocument creates a document from a relative filepath.
11+
// NewDocument creates a document from the filepath.
1212
// The root is typically the root of the exercise, and
13-
// path is the relative path to the file within the root directory.
13+
// path is the absolute path to the file.
1414
func NewDocument(root, path string) (Document, error) {
1515
path, err := filepath.Rel(root, path)
1616
if err != nil {

0 commit comments

Comments
 (0)