rust/land_dump/src/main.rs
changeset 14173 5acfdf49742d
parent 14158 3119d665d3c6
child 14185 1749961647b9
--- a/rust/land_dump/src/main.rs	Wed Nov 07 03:35:56 2018 +0300
+++ b/rust/land_dump/src/main.rs	Wed Nov 07 15:55:00 2018 +0100
@@ -86,12 +86,7 @@
 
             let mut generator = MapGenerator::new();
 
-            let bom = b"\xEF\xBB\xBF";
-            let source = if &result.as_bytes()[..bom.len()] == &bom[..] {
-                &result[bom.len()..]
-            } else {
-                &result[..]
-            };
+            let source =  &result[..];
 
             generator.import_yaml_templates(source);