chore: fix some comments (#3913)

Signed-off-by: redismongo <yuanchaowei@outlook.com>
This commit is contained in:
redismongo
2024-04-19 05:57:16 +08:00
committed by GitHub
parent 134fdda807
commit e78db23553
3 changed files with 3 additions and 3 deletions

View File

@@ -343,7 +343,7 @@ enum Method<'a> {
}
// Below here is a bunch of details of the WebDriver protocol implementation.
// I'm not too too familiar with them myself, but these seem to work! I mostly
// I'm not too familiar with them myself, but these seem to work! I mostly
// copied the `webdriver-client` crate when writing the below bindings.
impl Client {

View File

@@ -106,7 +106,7 @@ partial interface Navigator {
readonly attribute Permissions permissions;
};
// Things that definitely need to be in the spec and and are not for some
// Things that definitely need to be in the spec and are not for some
// reason. See https://www.w3.org/Bugs/Public/show_bug.cgi?id=22406
partial interface Navigator {
[Throws]

View File

@@ -67,7 +67,7 @@ impl WorkerPool {
/// message is sent to it.
fn spawn(&self) -> Result<Worker, JsValue> {
console_log!("spawning new worker");
// TODO: what do do about `./worker.js`:
// TODO: what to do about `./worker.js`:
//
// * the path is only known by the bundler. How can we, as a
// library, know what's going on?