Fixed warnings
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
use include_dir::{include_dir, Dir};
|
use include_dir::{include_dir, Dir};
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
use anyhow::{Result, Context, bail};
|
use anyhow::{Result, Context, bail};
|
||||||
use tera::{Tera, Context as TeraContext};
|
use tera::Tera;
|
||||||
use std::fs;
|
use std::fs;
|
||||||
use colored::*;
|
use colored::*;
|
||||||
|
|
||||||
@@ -10,6 +10,7 @@ static BASIC_TEMPLATE: Dir = include_dir!("$CARGO_MANIFEST_DIR/templates/basic")
|
|||||||
static TESTING_TEMPLATE: Dir = include_dir!("$CARGO_MANIFEST_DIR/templates/testing");
|
static TESTING_TEMPLATE: Dir = include_dir!("$CARGO_MANIFEST_DIR/templates/testing");
|
||||||
|
|
||||||
pub struct TemplateManager {
|
pub struct TemplateManager {
|
||||||
|
#[allow(dead_code)]
|
||||||
tera: Tera,
|
tera: Tera,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user