More doc fixes

This commit is contained in:
Steven Fackler 2015-11-29 21:43:47 -08:00
parent a9effb427a
commit 61bed29de8

View File

@ -394,7 +394,7 @@ impl<'conn> Statement<'conn> {
/// INSERT INTO people (id, name) VALUES (1, 'john'), (2, 'jane');").unwrap();
/// let stmt = conn.prepare("COPY people TO STDOUT").unwrap();
/// let mut buf = vec![];
/// let mut r = stmt.copy_out(&[], &mut buf).unwrap();
/// stmt.copy_out(&[], &mut buf).unwrap();
/// assert_eq!(buf, b"1\tjohn\n2\tjane\n");
/// ```
pub fn copy_out<'a, W: WriteWithInfo>(&'a self, params: &[&ToSql], w: &mut W) -> Result<u64> {