mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
net.html: remove unnecessary comment (#18230)
This commit is contained in:
parent
a10690b934
commit
1be798be49
@ -96,7 +96,6 @@ pub fn (tag &Tag) get_tags(name string) []&Tag {
|
|||||||
|
|
||||||
// get_tag_by_attribute retrieves the first found child tag in the tag that has the given attribute name.
|
// get_tag_by_attribute retrieves the first found child tag in the tag that has the given attribute name.
|
||||||
pub fn (tag &Tag) get_tag_by_attribute(name string) ?&Tag {
|
pub fn (tag &Tag) get_tag_by_attribute(name string) ?&Tag {
|
||||||
// mut res := &Tag{}
|
|
||||||
for child in tag.children {
|
for child in tag.children {
|
||||||
if child.attributes[name] != '' {
|
if child.attributes[name] != '' {
|
||||||
return child
|
return child
|
||||||
|
Loading…
x
Reference in New Issue
Block a user