Ver Fonte

Fix a typo in documentation.

whitequark há 8 anos atrás
pai
commit
e894ee24ad
1 ficheiros alterados com 1 adições e 1 exclusões
  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> {