Skip to content

Commit

Permalink
lang: funcs: txn, util: Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
purpleidea committed Jul 25, 2024
1 parent 8b54306 commit 0a183df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lang/funcs/txn/txn.go
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ func (obj *GraphTxn) commit() error {
// populate operations before the Commit is run.)
func (obj *GraphTxn) Commit() error {
// Lock our internal state mutex first... this prevents other AddVertex
// or similar calls from interferring with our work here.
// or similar calls from interfering with our work here.
obj.mutex.Lock()
defer obj.mutex.Unlock()

Expand Down
2 changes: 1 addition & 1 deletion util/fs.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type AferoFs struct {
func (obj *AferoFs) URI() string {
if obj.Scheme != "" {
// if obj.Path is not empty and doesn't start with a slash, then
// the first chunk will dissappear when being parsed with stdlib
// the first chunk will disappear when being parsed with stdlib
return obj.Scheme + "://" + obj.Path
}
return fmt.Sprintf("%s://"+"/", obj.Name()) // old
Expand Down

0 comments on commit 0a183df

Please sign in to comment.