Cargo formatting
This commit is contained in:
@@ -27,12 +27,9 @@ impl Checks {
|
||||
}
|
||||
|
||||
// TODO: Implement
|
||||
pub fn index_of_item_in_container<F>(
|
||||
container: &String,
|
||||
item: &char,
|
||||
func: F,
|
||||
) -> i32
|
||||
where F: Fn(&char, &char) -> bool,
|
||||
pub fn index_of_item_in_container<F>(container: &String, item: &char, func: F) -> i32
|
||||
where
|
||||
F: Fn(&char, &char) -> bool,
|
||||
{
|
||||
let mut index = -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user