aboutsummaryrefslogtreecommitdiff
path: root/src/config/templates.rs
blob: 00e9cf5955136ef5a8081207cbc2af36f60478ae (plain)
1
2
3
4
5
6
7
8
9
10
// 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))
}