Spelling fixes and link addition about LRU cache in the docs.

This commit is contained in:
Adrian Brink
2017-04-05 12:43:47 +02:00
parent d0e057cabd
commit e004e05037
3 changed files with 3 additions and 2 deletions

View File

@@ -61,6 +61,7 @@ impl Default for CacheSizes {
///
/// Note that almost all getter methods take `&mut self` due to the necessity to update
/// the underlying LRU-caches on read.
/// [LRU-cache](https://en.wikipedia.org/wiki/Cache_replacement_policies#Least_Recently_Used_.28LRU.29)
pub struct Cache {
headers: MemoryLruCache<H256, encoded::Header>,
canon_hashes: MemoryLruCache<BlockNumber, H256>,