Skip to content

How to use next() from find() #67

@jihuun

Description

@jihuun

Hi,

What is next() doing? in the below code? And is there documentation or something about how to use the next()? Thanks!

    for node in document.find(Class("question-summary")).take(5) {
        let question = node.find(Class("question-hyperlink")).next().unwrap();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions