summaryrefslogtreecommitdiffstats
path: root/vendor/gix-attributes/src/assignment.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gix-attributes/src/assignment.rs')
-rw-r--r--vendor/gix-attributes/src/assignment.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/vendor/gix-attributes/src/assignment.rs b/vendor/gix-attributes/src/assignment.rs
index 87689d443..bf77e4341 100644
--- a/vendor/gix-attributes/src/assignment.rs
+++ b/vendor/gix-attributes/src/assignment.rs
@@ -1,7 +1,9 @@
-use crate::{Assignment, AssignmentRef, NameRef, StateRef};
-use bstr::ByteSlice;
use std::fmt::Write;
+use bstr::ByteSlice;
+
+use crate::{Assignment, AssignmentRef, NameRef, StateRef};
+
impl<'a> AssignmentRef<'a> {
pub(crate) fn new(name: NameRef<'a>, state: StateRef<'a>) -> AssignmentRef<'a> {
AssignmentRef { name, state }