Repository: driftluo/InfluxDBClient-rs (language: rust)

Issue:
character 'i' added on integer serilization
I assume that this is an artefact from early development.
![grafik](https://user-images.githubusercontent.com/4296262/95712979-0bda8580-0c66-11eb-918a-4e939b0106a6.png)
This causes wrong integer inputs.


Discussion / hints:

Fix patch:
diff --git a/src/serialization.rs b/src/serialization.rs
index 740eee0..a004b66 100644
--- a/src/serialization.rs
+++ b/src/serialization.rs
@@ -14,7 +14,7 @@ pub(crate) fn line_serialization<T: Iterator<Item = Point>>(points: T) -> String
             match value {
                 Value::String(s) => line.push(escape_keys_and_tags(&s)),
                 Value::Float(f) => line.push(f.to_string()),
-                Value::Integer(i) => line.push(i.to_string() + "i"),
+                Value::Integer(i) => line.push(i.to_string()),
                 Value::Boolean(b) => line.push({
                     if b {
                         "true".to_string()


Test patch: