fix(crypto): Remove some dead code

This commit is contained in:
Damir Jelić
2021-11-09 19:52:26 +01:00
parent 2b5ae869cd
commit c6d073ebd7
2 changed files with 1 additions and 7 deletions

View File

@@ -71,12 +71,6 @@ pub struct RecoveryKey {
version: Option<String>,
}
impl RecoveryKey {
fn as_bytes(&self) -> &[u8] {
&self.key
}
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct PickledRecoveryKey(String);

View File

@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#![allow(dead_code, missing_docs)]
#![allow(missing_docs)]
use std::{
collections::{BTreeMap, BTreeSet},