소스 검색

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> {