Skip to content

Commit

Permalink
fix: typos in comment
Browse files Browse the repository at this point in the history
Signed-off-by: guoguangwu <[email protected]>
  • Loading branch information
testwill committed Mar 28, 2024
1 parent 868f304 commit ec44902
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion driver/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ type Sym struct {

// A UI manages user interactions.
type UI interface {
// Read returns a line of text (a command) read from the user.
// ReadLine returns a line of text (a command) read from the user.
// prompt is printed before reading the command.
ReadLine(prompt string) (string, error)

Expand Down
2 changes: 1 addition & 1 deletion internal/driver/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func configMenu(fname string, u url.URL) []configMenuEntry {
UserConfig: (i != 0),
}
}
// Mark the last matching config as currennt
// Mark the last matching config as current
if lastMatch >= 0 {
result[lastMatch].Current = true
}
Expand Down
2 changes: 1 addition & 1 deletion internal/plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ type Sym struct {

// A UI manages user interactions.
type UI interface {
// Read returns a line of text (a command) read from the user.
// ReadLine returns a line of text (a command) read from the user.
// prompt is printed before reading the command.
ReadLine(prompt string) (string, error)

Expand Down

0 comments on commit ec44902

Please sign in to comment.