mirror of
https://github.com/denoland/deno.git
synced 2024-11-29 16:30:56 -05:00
fix: typos in cli and core (#8082)
This commit is contained in:
parent
ab898556a4
commit
29e05bb014
5 changed files with 5 additions and 5 deletions
|
@ -63,7 +63,7 @@ delete Object.prototype.__proto__;
|
||||||
opCloseWorker();
|
opCloseWorker();
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO(bartlomieju): remove these funtions
|
// TODO(bartlomieju): remove these functions
|
||||||
// Stuff for workers
|
// Stuff for workers
|
||||||
const onmessage = () => {};
|
const onmessage = () => {};
|
||||||
const onerror = () => {};
|
const onerror = () => {};
|
||||||
|
|
|
@ -28,7 +28,7 @@ function main() {
|
||||||
const h = q.head();
|
const h = q.head();
|
||||||
assert(h > 0);
|
assert(h > 0);
|
||||||
|
|
||||||
// This record's len is not divisble by
|
// This record's len is not divisible by
|
||||||
// 4 so after pushing it to the queue,
|
// 4 so after pushing it to the queue,
|
||||||
// next record offset should be aligned to 4.
|
// next record offset should be aligned to 4.
|
||||||
let r = new Uint8Array([1, 2, 3, 4, 5]);
|
let r = new Uint8Array([1, 2, 3, 4, 5]);
|
||||||
|
|
|
@ -387,7 +387,7 @@ impl ModuleNameMap {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Insert a name assocated module id.
|
/// Insert a name associated module id.
|
||||||
pub fn insert(&mut self, name: String, id: ModuleId) {
|
pub fn insert(&mut self, name: String, id: ModuleId) {
|
||||||
self.inner.insert(name, SymbolicModule::Mod(id));
|
self.inner.insert(name, SymbolicModule::Mod(id));
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@ use std::path::Component;
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
|
|
||||||
/// Normalize all itermediate components of the path (ie. remove "./" and "../" components).
|
/// Normalize all intermediate components of the path (ie. remove "./" and "../" components).
|
||||||
/// Similar to `fs::canonicalize()` but doesn't resolve symlinks.
|
/// Similar to `fs::canonicalize()` but doesn't resolve symlinks.
|
||||||
///
|
///
|
||||||
/// Taken from Cargo
|
/// Taken from Cargo
|
||||||
|
|
|
@ -221,7 +221,7 @@ fn json_serialize_op_result(
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Return map of resources with id as key
|
/// Return map of resources with id as key
|
||||||
/// and string representaion as value.
|
/// and string representation as value.
|
||||||
///
|
///
|
||||||
/// This op must be wrapped in `json_op_sync`.
|
/// This op must be wrapped in `json_op_sync`.
|
||||||
pub fn op_resources(
|
pub fn op_resources(
|
||||||
|
|
Loading…
Reference in a new issue