Function warn::rev_map [] [src]

pub fn rev_map<WF, WT, W, F>(warn: &mut W, fn_: F) -> RevMap<WF, WT, W, F> where
    W: Warn<WT>,
    F: FnMut(WF) -> WT, 

Applies a function to all warnings passed to this, before passing it to the underlying warn object.