cl-ast: Fix formatting for Index expression
This commit is contained in:
		| @@ -430,10 +430,7 @@ mod display { | |||||||
|         fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |         fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { | ||||||
|             let Self { head, indices } = self; |             let Self { head, indices } = self; | ||||||
|             write!(f, "{head}")?; |             write!(f, "{head}")?; | ||||||
|             for indices in indices { |             delimit(separate(indices, ", "), INLINE_SQUARE)(f) | ||||||
|                 indices.fmt(f)?; |  | ||||||
|             } |  | ||||||
|             Ok(()) |  | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|     impl Display for Path { |     impl Display for Path { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user