Browse Source

Fix a typo in documentation.

whitequark 8 years ago
parent
commit
e894ee24ad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/iface/arp_cache.rs

+ 1 - 1
src/iface/arp_cache.rs

@@ -29,7 +29,7 @@ pub trait Cache {
 /// On systems without heap, use:
 /// ```rust
 /// use smoltcp::iface::SliceArpCache;
-/// let mut arp_cache_storage = [Default::default(); 8]
+/// let mut arp_cache_storage = [Default::default(); 8];
 /// let mut arp_cache = SliceArpCache::new(&mut arp_cache_storage[..]);
 /// ```
 pub struct SliceCache<'a> {