engine: Fix typos

This commit is contained in:
James Shubin
2019-01-12 14:59:20 -05:00
parent b1ffb1d4a4
commit d5ecf8ce16
2 changed files with 8 additions and 8 deletions

View File

@@ -125,7 +125,7 @@ func (obj *Engine) Validate() error {
}
// Apply a function to the pending graph. You must pass in a function which will
// receive this graph as input, and return an error if it something does not
// receive this graph as input, and return an error if something does not
// succeed.
func (obj *Engine) Apply(fn func(*pgraph.Graph) error) error {
return fn(obj.nextGraph)