Skip to content

Commit 66fd0f3

Browse files
committed
Use join instead of deprecated connect method
1 parent 711c620 commit 66fd0f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ mod tests {
209209
Ok(conduit::Response {
210210
status: (200, "OK"),
211211
headers: HashMap::new(),
212-
body: Box::new(io::Cursor::new(res.connect(", ").into_bytes()))
212+
body: Box::new(io::Cursor::new(res.join(", ").into_bytes()))
213213
})
214214
}
215215
}

0 commit comments

Comments
 (0)