mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-04-09 12:21:20 +00:00
Fix fmt after clippy fixes.
This commit is contained in:
parent
10cbdb1e00
commit
20ec2877f2
@ -287,10 +287,7 @@ impl InternalService for Internal {
|
||||
let tenant_id = if req_key.tenant_id.is_empty() {
|
||||
None
|
||||
} else {
|
||||
Some(
|
||||
Uuid::from_str(&req_key.tenant_id)
|
||||
.map_err(|e| e.status())?,
|
||||
)
|
||||
Some(Uuid::from_str(&req_key.tenant_id).map_err(|e| e.status())?)
|
||||
};
|
||||
|
||||
if req_key.is_admin && tenant_id.is_some() {
|
||||
|
@ -22,7 +22,6 @@ pub struct DevNonces(DevNoncesInner);
|
||||
|
||||
pub type DevNoncesInner = Vec<Option<i32>>;
|
||||
|
||||
|
||||
impl std::convert::AsRef<DevNoncesInner> for DevNonces {
|
||||
fn as_ref(&self) -> &DevNoncesInner {
|
||||
&self.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user