mithril_common::test_utils

Function format_current_function_module

Source
pub fn format_current_function_module<T>(f: T) -> &'static str
Expand description

Return the path of the given function. If the last function is f, it is removed. The last {{closure}} is also removed.