You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let displaydoc_attr = attrs.iter().find(|attr| attr.path.is_ident("displaydoc"));
57
+
let displaydoc_attr = attrs.iter().find(|attr| attr.path().is_ident("displaydoc"));
58
58
59
59
ifletSome(displaydoc_attr) = displaydoc_attr {
60
60
let lit = displaydoc_attr
@@ -71,19 +71,22 @@ impl AttrsHelper {
71
71
72
72
let num_doc_attrs = attrs
73
73
.iter()
74
-
.filter(|attr| attr.path.is_ident("doc"))
74
+
.filter(|attr| attr.path().is_ident("doc"))
75
75
.count();
76
76
77
77
if !self.ignore_extra_doc_attributes && num_doc_attrs > 1{
78
78
panic!("Multi-line comments are disabled by default by displaydoc. Please consider using block doc comments (/** */) or adding the #[ignore_extra_doc_attributes] attribute to your type next to the derive.");
0 commit comments