remove unnessary pub

This commit is contained in:
2020-04-03 08:12:54 +08:00
parent 2f7ff048a7
commit ab3e69997b
3 changed files with 15 additions and 14 deletions

View File

@@ -45,6 +45,7 @@ impl OpenPGPTool {
})
}
#[allow(dead_code)]
pub fn from_bytes(bs: &[u8]) -> XResult<OpenPGPTool> {
Ok(OpenPGPTool{
tpk: TPK::from_bytes(&bs)?,