lang: funcs: structs: Fix typos
This commit is contained in:
@@ -147,7 +147,7 @@ func (obj *ChannelBasedSinkFunc) Stream(ctx context.Context) error {
|
||||
|
||||
// Call this function with the input args and return the value if it is possible
|
||||
// to do so at this time.
|
||||
// XXX: Is is correct to implement this here for this particular function?
|
||||
// XXX: Is it correct to implement this here for this particular function?
|
||||
func (obj *ChannelBasedSinkFunc) Call(ctx context.Context, args []types.Value) (types.Value, error) {
|
||||
if len(args) != 1 {
|
||||
return nil, fmt.Errorf("programming error, can't find edge")
|
||||
|
||||
Reference in New Issue
Block a user