Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make URLSearchParams iterable #13022 #13077

Closed
wants to merge 8 commits into from

Make URLSearchParams iterable #13022 to modify iterable length

  • Loading branch information
yoyo930021 committed Aug 27, 2016
commit 2e1d3a52ca57803d051268604a7b7b9756c1ca2f
@@ -171,7 +171,7 @@ impl Iterable for URLSearchParams {
type Value = USVString;

fn get_iterable_length(&self) -> u32 {
self.list.borrow().iter().count() as u32
self.list.borrow().len() as u32
}

fn get_value_at_index(&self, n: u32) -> USVString {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.