Skip to content

Commit d5578e5

Browse files
committed
cargo fmt
1 parent 9c4fcea commit d5578e5

File tree

6 files changed

+10
-11
lines changed

6 files changed

+10
-11
lines changed

.travis.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ before_cache:
2121
env:
2222
os:
2323
- linux
24-
- osx
2524
rust:
2625
- stable
2726
- beta
@@ -48,8 +47,8 @@ matrix:
4847
- cargo install-update -a
4948
script:
5049
- |
51-
cargo build --verbose &&
52-
cargo coverage --verbose &&
50+
cargo build &&
51+
cargo coverage &&
5352
wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&
5453
tar xzf master.tar.gz && mkdir kcov-master/build && cd kcov-master/build && cmake .. && make &&
5554
sudo make install && cd ../.. &&
@@ -65,6 +64,6 @@ matrix:
6564

6665
script: |
6766
export RUST_BACKTRACE=1 &&
68-
cargo build --verbose &&
69-
cargo test --verbose &&
70-
cargo doc --no-deps --verbose
67+
cargo build &&
68+
cargo test &&
69+
cargo doc --no-deps

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ pub enum InfluxDbError {
1717
#[fail(display = "InfluxDB encountered the following error: {}", error)]
1818
/// Error which has happened inside InfluxDB
1919
DatabaseError { error: String },
20-
}
20+
}

src/integrations/serde_integration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,4 +162,4 @@ impl InfluxDbClient {
162162
}),
163163
)
164164
}
165-
}
165+
}

src/query/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,4 @@ impl PartialEq<&str> for ValidQuery {
104104
pub enum QueryType {
105105
ReadQuery,
106106
WriteQuery,
107-
}
107+
}

src/query/read_query.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ impl InfluxDbQuery for InfluxDbReadQuery {
3030
fn get_type(&self) -> QueryType {
3131
QueryType::ReadQuery
3232
}
33-
}
33+
}

src/query/write_query.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,4 @@ impl InfluxDbQuery for InfluxDbWriteQuery {
151151
fn get_type(&self) -> QueryType {
152152
QueryType::WriteQuery
153153
}
154-
}
154+
}

0 commit comments

Comments
 (0)