fix unused struct member cargo warning

This commit is contained in:
travis laduke 2023-06-15 14:20:09 -07:00
parent 9b7d13476f
commit c52638f9b7

View file

@ -59,7 +59,6 @@ pub struct ZeroIDC {
))] ))]
struct Inner { struct Inner {
running: bool, running: bool,
issuer: String,
auth_endpoint: String, auth_endpoint: String,
provider: String, provider: String,
oidc_thread: Option<JoinHandle<()>>, oidc_thread: Option<JoinHandle<()>>,
@ -123,7 +122,6 @@ impl ZeroIDC {
let idc = ZeroIDC { let idc = ZeroIDC {
inner: Arc::new(Mutex::new(Inner { inner: Arc::new(Mutex::new(Inner {
running: false, running: false,
issuer: issuer.to_string(),
provider: provider.to_string(), provider: provider.to_string(),
auth_endpoint: auth_ep.to_string(), auth_endpoint: auth_ep.to_string(),
oidc_thread: None, oidc_thread: None,