Skip to main content

use_targets

Function use_targets 

Source
pub fn use_targets(content: &str) -> Vec<String>
Expand description

The intra-crate use targets in a source file: each returned string is a brace-expanded, alias-stripped path beginning with crate, self, or super (external imports are dropped).