Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/src/wasi-generator.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// External generators in the browser: a generator built for `wasm32-wasip1`
/// (the generator protocol's WASI packaging, core#8), run through a WASI shim
/// the way `comline generate` runs one under wasmtime (cli `src/external.rs`).
/// the way `comline generation` runs one under wasmtime (cli `src/external.rs`).
///
/// A generator is untrusted code, so each call runs as the CLI runs it:
///
Expand Down
6 changes: 3 additions & 3 deletions wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ fn check_path(path: &str) -> Result<(), &'static str> {
}

/// The request for `target` and `mode` over the whole file set, with its
/// encodings filled the way `comline generate` fills them: the official
/// encodings filled the way `comline generation` fills them: the official
/// mappings, then what the playground's package declares (nothing: its
/// packages are in memory, and core refuses `encodings` there), with no
/// `comline.toml` overrides.
Expand Down Expand Up @@ -547,7 +547,7 @@ fn request_for(files: &[FileInput], target: &str, mode: &str) -> Result<Generate
)
.map_err(|e| format!("{e:#}"))?;
// Wire numbers and the rest of `comline@2`'s facts, for a package that
// needs them (the default one does). `comline generate` reads them from
// needs them (the default one does). `comline generation` reads them from
// the package's history; a playground package has none, so they're a
// first version's.
if comline_codegen::facts::needed(&req.schemas, &req.encodings) {
Expand Down Expand Up @@ -976,7 +976,7 @@ pub fn describe_project(files: JsValue) -> JsValue {
}
};
let frozen = interpret_project(&files).schemas;
// The request `comline generate` would build, for the facts and the
// The request `comline generation` would build, for the facts and the
// connection; `None` while nothing parses.
let request = request_for(&files, "rust", "code").ok();

Expand Down
Loading