[][src]Crate postfix_macros_impl

Postfix macros on stable Rust, today.

This is the crate containing the proc macro implementation of the postfix_macros! macro.

The postfix-macros crate reexports the macro defined by this crate, and adds some macros of its own that are helpful in postfix macro context. If you don't need these extra macros, you can use this crate instead and save the extra dependency.

postfix_macros! {
	"hello".assert_ne!("world");

	val.iter()
		.map(|v| v.1)
		.find(|z| z.matches!(Custom::Enum(_) | Custom::EnumOther))
		.dbg!();
}

Macros

postfix_macros