aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArne Dußin2020-11-01 19:07:55 +0100
committerArne Dußin2020-11-01 19:07:55 +0100
commit09ffb11f07e964fc1232a49047746afa3b92dd81 (patch)
treebf16a286027e0eb104e614ca7cb1520fbf8a915f /src
parent268e8624cfe43aed65009b9728f7c7b925f2713e (diff)
downloadgraf_karto-09ffb11f07e964fc1232a49047746afa3b92dd81.tar.gz
graf_karto-09ffb11f07e964fc1232a49047746afa3b92dd81.zip
Change pretty config of RON output format
Diffstat (limited to 'src')
-rw-r--r--src/map_data.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map_data.rs b/src/map_data.rs
index 62229c6..852d236 100644
--- a/src/map_data.rs
+++ b/src/map_data.rs
@@ -46,6 +46,7 @@ impl MapData {
let pretty_conf = PrettyConfig::new()
.with_depth_limit(4)
+ .with_decimal_floats(true)
.with_separate_tuple_members(true)
.with_indentor("\t".to_owned());
let string = match to_string_pretty(&self, pretty_conf) {