소스 검색

Fix doc typos in block.rs

Johannes Hofmann 8 년 전
부모
커밋
c43588ff6e
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3
    3
      src/block.rs

+ 3
- 3
src/block.rs 파일 보기

@@ -114,7 +114,7 @@ impl<'a> Iterator for GroupIter<'a> {
114 114
 
115 115
 impl<'a> ExactSizeIterator for GroupIter<'a> {}
116 116
 
117
-/// An iterator over the nodes in a `Group`.
117
+/// An iterator over the nodes in a `PrimitiveGroup`.
118 118
 pub struct GroupNodeIter<'a> {
119 119
     block: &'a osmformat::PrimitiveBlock,
120 120
     nodes: std::slice::Iter<'a, osmformat::Node>,
@@ -148,7 +148,7 @@ impl<'a> Iterator for GroupNodeIter<'a> {
148 148
 
149 149
 impl<'a> ExactSizeIterator for GroupNodeIter<'a> {}
150 150
 
151
-/// An iterator over the ways in a `Group`.
151
+/// An iterator over the ways in a `PrimitiveGroup`.
152 152
 pub struct GroupWayIter<'a> {
153 153
     block: &'a osmformat::PrimitiveBlock,
154 154
     ways: std::slice::Iter<'a, osmformat::Way>,
@@ -182,7 +182,7 @@ impl<'a> Iterator for GroupWayIter<'a> {
182 182
 
183 183
 impl<'a> ExactSizeIterator for GroupWayIter<'a> {}
184 184
 
185
-/// An iterator over the relations in a `Group`.
185
+/// An iterator over the relations in a `PrimitiveGroup`.
186 186
 pub struct GroupRelationIter<'a> {
187 187
     block: &'a osmformat::PrimitiveBlock,
188 188
     rels: std::slice::Iter<'a, osmformat::Relation>,