conlang: updated rustfmt

This commit is contained in:
2025-10-24 05:23:53 -04:00
parent 4e4c61ee4f
commit 55e02fd919
3 changed files with 3 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ use cl_lexer::Lexer;
use cl_token::Token; use cl_token::Token;
use std::{ use std::{
error::Error, error::Error,
io::{stdin, IsTerminal, Read}, io::{IsTerminal, Read, stdin},
path::{Path, PathBuf}, path::{Path, PathBuf},
}; };

View File

@@ -2,10 +2,7 @@ pub use cl_ast::format::*;
use std::{fmt, iter}; use std::{fmt, iter};
/// Separates the items yielded by iterating the provided function /// Separates the items yielded by iterating the provided function
pub const fn separate<'f, 's, Item, F, W>( pub const fn separate<'f, 's, Item, F, W>(sep: &'s str, t: F) -> impl FnOnce(W) -> fmt::Result + 's
sep: &'s str,
t: F,
) -> impl FnOnce(W) -> fmt::Result + 's
where where
Item: FnMut(&mut W) -> fmt::Result, Item: FnMut(&mut W) -> fmt::Result,
F: FnMut() -> Option<Item> + 's, F: FnMut() -> Option<Item> + 's,