conlang: updated rustfmt
This commit is contained in:
@@ -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},
|
||||
};
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//! The Conlang REPL, based on [repline]
|
||||
//!
|
||||
//!
|
||||
//! Uses [argwerk] for argument parsing.
|
||||
#![warn(clippy::all)]
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user