浏览代码

Fix a typo in documentation.

whitequark 8 年之前
父节点
当前提交
e894ee24ad
共有 1 个文件被更改,包括 1 次插入1 次删除
  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> {