Skip to content

Commit

Permalink
Fix mistakes that were not "deprecated"
Browse files Browse the repository at this point in the history
Confirmed at Go Doc.
  • Loading branch information
noborus committed Dec 30, 2024
1 parent e3fad6d commit 6e183a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion oviewer/control.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ func (m *Document) requestLoad(chunkNum int) {
}

// requestLoadSync sends instructions to load chunks into memory.
// requestLoadSync is a synchronous version of [requestLoad].
// requestLoadSync is a synchronous version of [Document.requestLoad].
// Note: Calling requestLoadSync when not at EOF may result in delayed response.
func (m *Document) requestLoadSync(chunkNum int) bool {
sc := controlSpecifier{
Expand Down
2 changes: 1 addition & 1 deletion oviewer/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func (command *Command) stderrReload() *bufio.Reader {

// ExecCommand return the structure of oviewer.
// ExecCommand executes the command and opens stdout/stderr as document.
// obsolete: use NewCommand and Exec instead.
// Deprecated: use [NewCommand] and [Exec] instead.
func ExecCommand(cmd *exec.Cmd) (*Root, error) {
docout, docerr, err := newOutErrDocument()
if err != nil {
Expand Down

0 comments on commit 6e183a8

Please sign in to comment.