// SPDX-License-Identifier: MIT // Copyright (c) 2023 Robin Jarry use std::fmt; use gtmpl::Template; pub fn debug_template(t: &Template, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { f.write_fmt(format_args!("Template({:?})", t.text)) }