cached icon indicating copy to clipboard operation
cached copied to clipboard

Add helper attribute to ignore arguments

Open ModProg opened this issue 1 year ago • 1 comments

This is related to e.g. #67, but for the simple usecase of just wanting to ignore one or two arguments, something like

#[cached]
fn hello(a: usize, #[cached(skip)] b: String) 

would be nicer to use IMO.

ModProg avatar Mar 09 '24 19:03 ModProg

+1. Current method is pretty clunky, especially when you've got a lot of other parameters.

0xForerunner avatar Jun 03 '24 04:06 0xForerunner