Преглед на файлове

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