This lets us operate over various kinds of objects polymorphically (e.g. call `.hex()` on any kind of object hash).
Showing the changes to lib/src/commit_builder.rs (1 of 21 files). Show all
Unified · Split
| @@ -14,8 +14,7 @@ · 13 unmodified lines | |||
| 14 | 14 | ||
| 15 | use uuid::Uuid; | 15 | use uuid::Uuid; |
| 16 | 16 | ||
| 17 | use crate::backend; | 17 | use crate::backend::{self, BackendResult, ChangeId, CommitId, ObjectId, Signature, TreeId}; |
| 18 | use crate::backend::{BackendResult, ChangeId, CommitId, Signature, TreeId}; | ||
| 19 | use crate::commit::Commit; | 18 | use crate::commit::Commit; |
| 20 | use crate::repo::MutableRepo; | 19 | use crate::repo::MutableRepo; |
| 21 | use crate::settings::UserSettings; | 20 | use crate::settings::UserSettings; |