# Prefix Stmts
[](https://docs.rs/prefix-stmts)
[](https://crates.io/crates/prefix-stmts)
[](./LICENSE.txt)
A utility macro to prefix each of several statements with the given tokens.
```rust
use ::prefix_stmts::prefix_stmts;
prefix_stmts! {
[ #[cfg(feature = "alloc")] ]
extern crate alloc;
use alloc::vec::Vec;
pub fn mutate_vec(v: &mut Vec<u32>) {
prefix_stmts! {
[ println!("Vector is currently: {:#?}", v); ]
v.push(1);
v.push(2);
v.push(3);
}
}
}
```