Skip to content

Commit d8d136a

Browse files
committed
Remove nightly features
1 parent 9520d20 commit d8d136a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/client/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,7 @@ impl InfluxDbClient {
151151
})
152152
.and_then(|body| {
153153
if let Ok(utf8) = std::str::from_utf8(&body) {
154-
let mut s = String::new();
155-
utf8.clone_into(&mut s);
154+
let s = utf8.to_owned();
156155

157156
// todo: improve error parsing without serde
158157
if s.contains("\"error\"") {

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#![allow(dead_code)]
2-
#![feature(toowned_clone_into)]
32

43
#[macro_use]
54
extern crate failure;

0 commit comments

Comments
 (0)