From 07ff7a8d34270d4b3266c57cc97ef93680dfb2c2 Mon Sep 17 00:00:00 2001 From: Jason Williams <936006+jasonwilliams@users.noreply.github.com> Date: Thu, 1 Oct 2020 20:17:58 +0100 Subject: [PATCH] remove deprecated comments (#754) --- boa/src/builtins/string/mod.rs | 1 - boa/src/exec/statement_list.rs | 3 --- 2 files changed, 4 deletions(-) diff --git a/boa/src/builtins/string/mod.rs b/boa/src/builtins/string/mod.rs index b69487e23f..03e6b2ae99 100644 --- a/boa/src/builtins/string/mod.rs +++ b/boa/src/builtins/string/mod.rs @@ -169,7 +169,6 @@ impl String { .nth(pos as usize) .expect("failed to get utf16 value"); // If there is no element at that index, the result is NaN - // TODO: We currently don't have NaN Ok(Value::from(f64::from(utf16_val))) } diff --git a/boa/src/exec/statement_list.rs b/boa/src/exec/statement_list.rs index f4aedb53e0..2f63d5eea6 100644 --- a/boa/src/exec/statement_list.rs +++ b/boa/src/exec/statement_list.rs @@ -22,13 +22,10 @@ impl Executable for StatementList { break; } InterpreterState::Break(_label) => { - // TODO, break to a label. - // Early break. break; } InterpreterState::Continue(_label) => { - // TODO, continue to a label. break; } InterpreterState::Executing => {