Closed elexing closed 3 years ago
Method cached::Cache.get, param &self should be &mut self. In the lru-cache or timed-cache, the get ops can change self.
cached::Cache.get
&self
&mut self
get
Method
cached::Cache.get
, param&self
should be&mut self
. In the lru-cache or timed-cache, theget
ops can change self.