We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 714ef5a commit 9520d20Copy full SHA for 9520d20
src/client/mod.rs
@@ -43,9 +43,10 @@ impl InfluxDbClient {
43
///
44
/// let _client = InfluxDbClient::new("http://localhost:8086", "test");
45
/// ```
46
- pub fn new<S>(url: S, database: S) -> Self
+ pub fn new<S1, S2>(url: S1, database: S2) -> Self
47
where
48
- S: Into<String>,
+ S1: Into<String>,
49
+ S2: Into<String>,
50
{
51
InfluxDbClient {
52
url: url.into(),
0 commit comments