restruct: 30e

This commit is contained in:
i do not exist 2026-06-24 10:18:45 +03:00
parent 8b6ab2fd08
commit c737c7d839
13 changed files with 771 additions and 747 deletions

View file

@ -37,7 +37,7 @@ impl Config {
const CONFIG: &'static str = "tek.edn";
const DEFAULTS: &'static str = include_str!("../tek.edn");
pub fn watch <T> (callback: impl Fn(Self)->T) -> Usually<T> {
pub fn watch <T> (callback: impl FnOnce(Self)->T) -> Usually<T> {
let config = Self::init_new(None)?;
let result = callback(config);
Ok(result)