mirror of
https://github.com/denoland/deno.git
synced 2024-11-28 16:20:57 -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();
|
||||
}
|
||||
|
||||
// TODO(bartlomieju): remove these funtions
|
||||
// TODO(bartlomieju): remove these functions
|
||||
// Stuff for workers
|
||||
const onmessage = () => {};
|
||||
const onerror = () => {};
|
||||
|
|
|
@ -28,7 +28,7 @@ function main() {
|
|||
const h = q.head();
|
||||
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,
|
||||
// next record offset should be aligned to 4.
|
||||
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) {
|
||||
self.inner.insert(name, SymbolicModule::Mod(id));
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@ use std::path::Component;
|
|||
use std::path::Path;
|
||||
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.
|
||||
///
|
||||
/// Taken from Cargo
|
||||
|
|
|
@ -221,7 +221,7 @@ fn json_serialize_op_result(
|
|||
}
|
||||
|
||||
/// 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`.
|
||||
pub fn op_resources(
|
||||
|
|
Loading…
Reference in a new issue