File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ impl Extensions {
47
47
/// The options for use when [writing an index][State::write_to()].
48
48
///
49
49
/// Note that default options write either index V2 or V3 depending on the content of the entries.
50
- #[ derive( Debug , Clone , Copy ) ]
50
+ #[ derive( Debug , Default , Clone , Copy ) ]
51
51
pub struct Options {
52
52
/// The hash kind to use when writing the index file.
53
53
///
@@ -58,15 +58,6 @@ pub struct Options {
58
58
pub extensions : Extensions ,
59
59
}
60
60
61
- impl Default for Options {
62
- fn default ( ) -> Self {
63
- Self {
64
- hash_kind : git_hash:: Kind :: default ( ) ,
65
- extensions : Default :: default ( ) ,
66
- }
67
- }
68
- }
69
-
70
61
impl State {
71
62
/// Serialize this instance to `out` with [`options`][Options].
72
63
pub fn write_to (
You can’t perform that action at this time.
0 commit comments