Formatting

parent 84848bd3
Pipeline #6016 passed with stages
in 11 minutes and 29 seconds
......@@ -49,20 +49,24 @@ pub extern "C" fn isprint(c: c_int) -> c_int {
#[no_mangle]
pub extern "C" fn ispunct(c: c_int) -> c_int {
c_int::from((c >= c_int::from(b'!') && c <= c_int::from(b'/'))
|| (c >= c_int::from(b':') && c <= c_int::from(b'@'))
|| (c >= c_int::from(b'[') && c <= c_int::from(b'`'))
|| (c >= c_int::from(b'{') && c <= c_int::from(b'~')))
c_int::from(
(c >= c_int::from(b'!') && c <= c_int::from(b'/'))
|| (c >= c_int::from(b':') && c <= c_int::from(b'@'))
|| (c >= c_int::from(b'[') && c <= c_int::from(b'`'))
|| (c >= c_int::from(b'{') && c <= c_int::from(b'~')),
)
}
#[no_mangle]
pub extern "C" fn isspace(c: c_int) -> c_int {
c_int::from(c == c_int::from(b' ')
|| c == c_int::from(b'\t')
|| c == c_int::from(b'\n')
|| c == c_int::from(b'\r')
|| c == 0x0b
|| c == 0x0c)
c_int::from(
c == c_int::from(b' ')
|| c == c_int::from(b'\t')
|| c == c_int::from(b'\n')
|| c == c_int::from(b'\r')
|| c == 0x0b
|| c == 0x0c,
)
}
#[no_mangle]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment