Skip to content

Commit eb2b34f

Browse files
committed
remove unused code
1 parent 5143880 commit eb2b34f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

gemini/src/known_hosts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub enum CertificateError {
1717
#[error("Generic certificate error")]
1818
GenericError,
1919
}
20-
pub struct Certificate<'a>(&'a str);
20+
2121
pub trait KnownHostsRepo: std::fmt::Debug {
2222
fn get(&self, host: &str) -> Option<&str>;
2323
fn insert(&mut self, host: &str, sha: &str) -> bool;

gemini/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ mod client;
22
pub mod known_hosts;
33
mod parser;
44
pub use client::*;
5-
pub use known_hosts::{Certificate, CertificateError};
5+
pub use known_hosts::CertificateError;
66
pub use parser::*;

0 commit comments

Comments
 (0)