소스 검색

schema hint

Johann Woelper 8 년 전
부모
커밋
f3706620d8
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/main.rs

+ 1 - 0
src/main.rs

@@ -55,6 +55,7 @@ impl Track {
 
     fn to_xml(&self) {
 
+        //gpx > trk > trkseg > trkpt
         let mut writer = Writer::new(Cursor::new(Vec::new()));
         let mut elem = BytesStart::owned(b"trkpt".to_vec(), "trkpt".len());
         elem.push_attribute(("lat", "13"));