Comment wording

This commit is contained in:
Michael Klishin 2020-03-11 21:48:28 +03:00
parent c3463c87db
commit 7feb909674
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ init([]) ->
handle_call({fetch, _FetchFun, FunArgs} = Msg, From,
#state{data = CachedData, args = Args} = State) when
CachedData =/= none andalso Args =/= FunArgs ->
%% there is cached data that we nee to invalidate
%% there is cached data that needs to be invalidated
handle_call(Msg, From, ?RESET_STATE(State));
handle_call({fetch, FetchFun, FunArgs}, _From,
#state{data = none,