Function bp3d_logger::util::extract_target_module

source ·
pub fn extract_target_module(base_string: &str) -> (&str, &str)
Expand description

Extracts the target name and the module path (without the target name) from a full module path string.

§Arguments

  • base_string: a full module path string (ex: bp3d_logger::util::extract_target_module).

returns: (&str, &str)