Remove unused code from the write module
The DisplayValuesWithDelimiter struct is no longer used.
@@ -525,21 +525,6 @@ impl<'a> fmt::Display for DisplayValues<'a> {
}
}
-struct DisplayValuesWithDelimiter<'a>(&'a [Value], char);
-
-impl<'a> fmt::Display for DisplayValuesWithDelimiter<'a> {
- fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
- for (i, val) in self.0.iter().enumerate() {
- if i == 0 {
- write!(f, "{}", val)?;
- } else {
- write!(f, "{}{}", self.1, val)?;
- }
- }
- Ok(())
- }
-}
-
#[cfg(test)]
mod tests {
use crate::cursor::{Cursor, CursorPosition, FuncCursor};
