File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/cargo/ops/tree/format Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ enum Chunk {
13
13
License ,
14
14
Repository ,
15
15
Features ,
16
- Name ,
16
+ LibName ,
17
17
}
18
18
19
19
pub struct Pattern ( Vec < Chunk > ) ;
@@ -29,7 +29,7 @@ impl Pattern {
29
29
RawChunk :: Argument ( "l" ) => Chunk :: License ,
30
30
RawChunk :: Argument ( "r" ) => Chunk :: Repository ,
31
31
RawChunk :: Argument ( "f" ) => Chunk :: Features ,
32
- RawChunk :: Argument ( "lib" ) => Chunk :: Name ,
32
+ RawChunk :: Argument ( "lib" ) => Chunk :: LibName ,
33
33
RawChunk :: Argument ( a) => {
34
34
bail ! ( "unsupported pattern `{}`" , a) ;
35
35
}
@@ -101,7 +101,7 @@ impl<'a> fmt::Display for Display<'a> {
101
101
Chunk :: Features => {
102
102
write ! ( fmt, "{}" , features. join( "," ) ) ?;
103
103
}
104
- Chunk :: Name => {
104
+ Chunk :: LibName => {
105
105
if let Some ( target) = package
106
106
. manifest ( )
107
107
. targets ( )
You can’t perform that action at this time.
0 commit comments