From 7405d7f506d437d27e1d4b4dc67d7fd384e52d4c Mon Sep 17 00:00:00 2001 From: heyanfu <1145291570@qq.com> Date: Sat, 17 Apr 2021 20:15:19 +0800 Subject: [PATCH] spelling mistakes (#634) --- core/mr/mapreduce.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/mr/mapreduce.go b/core/mr/mapreduce.go index 49da2583..89ef834b 100644 --- a/core/mr/mapreduce.go +++ b/core/mr/mapreduce.go @@ -101,7 +101,7 @@ func Map(generate GenerateFunc, mapper MapFunc, opts ...Option) chan interface{} } // MapReduce maps all elements generated from given generate func, -// and reduces the output elemenets with given reducer. +// and reduces the output elements with given reducer. func MapReduce(generate GenerateFunc, mapper MapperFunc, reducer ReducerFunc, opts ...Option) (interface{}, error) { source := buildSource(generate) return MapReduceWithSource(source, mapper, reducer, opts...)