inventory_submit

Macro inventory_submit 

Source
macro_rules! inventory_submit {
    ($($item:tt)*) => { ... };
}
Expand description

Submit an item to the inventory.

This macro is a wrapper around inventory::submit that adds a #[not(cfg(rust_analyzer))] attribute to the item. This is to avoid warnings about unused items when using Rust Analyzer.