diff options
author | Rutger Broekhoff | 2024-01-26 12:28:39 +0100 |
---|---|---|
committer | Rutger Broekhoff | 2024-01-26 12:28:39 +0100 |
commit | f146743061ba8170569bf18518202df9a43c09f3 (patch) | |
tree | 798c303c07f9146d420de0bb5babb3df0fed58f5 /common | |
parent | c3d120445877b307f5ea7e95aed4bab45d7dede0 (diff) | |
download | gitolfs3-f146743061ba8170569bf18518202df9a43c09f3.tar.gz gitolfs3-f146743061ba8170569bf18518202df9a43c09f3.zip |
Clean up part of the code
Diffstat (limited to 'common')
-rw-r--r-- | common/src/lib.rs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/common/src/lib.rs b/common/src/lib.rs index 995352d..0a538a5 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs | |||
@@ -1,9 +1,10 @@ | |||
1 | use chrono::{DateTime, Utc}; | 1 | use chrono::{DateTime, Utc}; |
2 | use serde::de; | 2 | use serde::{de, Deserialize, Serialize}; |
3 | use serde::{Deserialize, Serialize}; | 3 | use std::{ |
4 | use std::fmt::Write; | 4 | fmt::{self, Write}, |
5 | use std::ops; | 5 | ops, |
6 | use std::{fmt, str::FromStr}; | 6 | str::FromStr, |
7 | }; | ||
7 | use subtle::ConstantTimeEq; | 8 | use subtle::ConstantTimeEq; |
8 | 9 | ||
9 | #[derive(Debug, Eq, PartialEq, Copy, Clone, Serialize, Deserialize)] | 10 | #[derive(Debug, Eq, PartialEq, Copy, Clone, Serialize, Deserialize)] |