remove unused method

This commit is contained in:
Wez Furlong committed 2019-03-22 20:41:50 -07:00
1 parent 3c7eeac2da
commit 27de21ccc3
1 file changed
-9
-9
View File
@@ -197,15 +197,6 @@ impl Pattern {
}
}
pub fn parse(pattern: &str) -> Result<Pattern, Error> {
let pattern = CString::new(pattern)?;
unsafe {
let p = FcNameParse(pattern.as_ptr() as *const u8);
ensure!(!p.is_null(), "failed to parse {:?}", pattern);
Ok(Pattern { pat: p })
}
}
pub fn config_substitute(&mut self, match_kind: MatchKind) -> Result<(), Error> {
unsafe {
ensure!(