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 std::{
error::Error,
io::{stdin, IsTerminal, Read},
io::{IsTerminal, Read, stdin},
path::{Path, PathBuf},
};

View File

@@ -1,5 +1,5 @@
//! The Conlang REPL, based on [repline]
//!
//!
//! Uses [argwerk] for argument parsing.
#![warn(clippy::all)]

View File

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