Skip to content

Commit ab0a0f8

Browse files
adamrkojeda
andauthored
invbool note
Co-authored-by: Miguel Ojeda <[email protected]>
1 parent 3ead8f0 commit ab0a0f8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rust/module.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,9 @@ fn permissions_are_readonly(perms: &str) -> bool {
229229
/// - `u64` - Corresponds to C `ullong` param type.
230230
/// - `str` - Corresponds to C `charp` param type.
231231
/// Reading the param returns a `&[u8]`.
232+
///
233+
/// `invbool` is unsupported: it was only ever used in a few modules.
234+
/// Consider using a `bool` inverting the logic instead.
232235
#[proc_macro]
233236
pub fn module(ts: TokenStream) -> TokenStream {
234237
let mut it = ts.into_iter();

0 commit comments

Comments
 (0)