We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6d1e03b + 33f0aea commit 6e0ac72Copy full SHA for 6e0ac72
src/element_ref/mod.rs
@@ -71,7 +71,7 @@ impl<'a> ElementRef<'a> {
71
}
72
73
/// Returns the value of an attribute.
74
- pub fn attr(&self, attr: &str) -> Option<&str> {
+ pub fn attr(&self, attr: &str) -> Option<&'a str> {
75
self.value().attr(attr)
76
77
0 commit comments