diff --git a/src/ast/mod.rs b/src/ast/mod.rs index c005b31b5..947e23f11 100644 --- a/src/ast/mod.rs +++ b/src/ast/mod.rs @@ -1911,7 +1911,8 @@ impl fmt::Display for FetchDirection { f.write_str("FORWARD")?; if let Some(l) = limit { - f.write_str(&format!(" {}", l))?; + f.write_str(" ")?; + f.write_str(&l.to_string())?; } } FetchDirection::ForwardAll => f.write_str("FORWARD ALL")?, @@ -1919,7 +1920,8 @@ impl fmt::Display for FetchDirection { f.write_str("BACKWARD")?; if let Some(l) = limit { - f.write_str(&format!(" {}", l))?; + f.write_str(" ")?; + f.write_str(&l.to_string())?; } } FetchDirection::BackwardAll => f.write_str("BACKWARD ALL")?,