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 {
1313 License ,
1414 Repository ,
1515 Features ,
16- Name ,
16+ LibName ,
1717}
1818
1919pub struct Pattern ( Vec < Chunk > ) ;
@@ -29,7 +29,7 @@ impl Pattern {
2929 RawChunk :: Argument ( "l" ) => Chunk :: License ,
3030 RawChunk :: Argument ( "r" ) => Chunk :: Repository ,
3131 RawChunk :: Argument ( "f" ) => Chunk :: Features ,
32- RawChunk :: Argument ( "lib" ) => Chunk :: Name ,
32+ RawChunk :: Argument ( "lib" ) => Chunk :: LibName ,
3333 RawChunk :: Argument ( a) => {
3434 bail ! ( "unsupported pattern `{}`" , a) ;
3535 }
@@ -101,7 +101,7 @@ impl<'a> fmt::Display for Display<'a> {
101101 Chunk :: Features => {
102102 write ! ( fmt, "{}" , features. join( "," ) ) ?;
103103 }
104- Chunk :: Name => {
104+ Chunk :: LibName => {
105105 if let Some ( target) = package
106106 . manifest ( )
107107 . targets ( )
You can’t perform that action at this time.
0 commit comments