Delete unused macros

This commit is contained in:
David Tolnay 2022-07-22 22:11:17 -07:00
parent e7ea1987ba
commit c52336a746
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82
2 changed files with 1 additions and 5 deletions

View file

@ -6,7 +6,7 @@
#![no_std]
#![doc(html_root_url = "https://docs.rs/unsafe-libyaml/0.1.2")]
#![allow(non_camel_case_types, unused_macros)]
#![allow(non_camel_case_types)]
#![warn(clippy::pedantic)]
#![allow(
clippy::cast_lossless,

View file

@ -188,10 +188,6 @@ macro_rules! IS_ASCII {
};
}
macro_rules! IS_PRINTABLE_AT {
() => {}; // TODO
}
macro_rules! IS_PRINTABLE {
($string:expr) => {
(*$string.pointer as libc::c_int == 0xa