fmt
This commit is contained in:
parent
ee406d47fa
commit
81a0c85f6e
@ -44,8 +44,7 @@ pub fn pos_raw() -> io::Result<(u16, u16)> {
|
||||
}
|
||||
|
||||
// Read rows and cols through a ad-hoc integer parsing function
|
||||
let read_num: fn() -> Result<(i32, char) -> Result<(i32, char), Error> =
|
||||
|| -> Result<(i32, char), Error> {
|
||||
let read_num: fn() -> Result<(i32, char), Error> = || -> Result<(i32, char), Error> {
|
||||
let mut num = 0;
|
||||
let mut c: char;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user