File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 16
16
17
17
#![ deny( intra_doc_link_resolution_failure, unsafe_code) ]
18
18
#![ allow( clippy:: new_ret_no_self) ]
19
- #![ feature( doc_cfg) ]
19
+ #![ cfg_attr ( docsrs , feature( doc_cfg) ) ]
20
20
21
21
use druid_shell as shell;
22
22
pub use druid_shell:: { kurbo, piet} ;
Original file line number Diff line number Diff line change @@ -71,9 +71,9 @@ pub use widget_ext::WidgetExt;
71
71
mod list;
72
72
pub use crate :: widget:: list:: { List , ListIter } ;
73
73
74
- #[ cfg( any ( feature = "svg" , rustdoc ) ) ]
75
- #[ doc( cfg( feature = "svg" ) ) ]
74
+ #[ cfg( feature = "svg" ) ]
75
+ #[ cfg_attr ( docsrs , doc( cfg( feature = "svg" ) ) ) ]
76
76
mod svg;
77
- #[ cfg( any ( feature = "svg" , rustdoc ) ) ]
78
- #[ doc( cfg( feature = "svg" ) ) ]
77
+ #[ cfg( feature = "svg" ) ]
78
+ #[ cfg_attr ( docsrs , doc( cfg( feature = "svg" ) ) ) ]
79
79
pub use crate :: widget:: svg:: { Svg , SvgData } ;
You can’t perform that action at this time.
0 commit comments