Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Philip Heltweg <philip@heltweg.org>
  • Loading branch information
georg-schwarz and rhazn authored May 29, 2024
1 parent 2d58952 commit 06e82a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/electric-vehicles.jv
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// - Understand how to construct a pipeline with multiple sinks
// - Understand the use of runtime parameters

// 0. We can use elements defined in other files using the "use" syntax.
// 0. We can use elements defined in other files with the "use" syntax.
// In this case, we use the value type UsStateCode when later specifying the table column value types.
use { UsStateCode } from './state-codes.jv';

Expand Down
4 changes: 2 additions & 2 deletions example/state-codes.jv
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ publish valuetype UsStateCode oftype text {
];
}

// 2. The publish keyword can be used after definition (see below).
// When using this delayed publish syntax, the published element can also be renamed for access from outside of the file.
// 2. The publish keyword can be used after a definition as well (see below).
// When using this delayed publish syntax, the published element can also be renamed. Doing so will make it available using the changed name whenever it is imported with the `use` syntax in another file.
constraint UsStateCodeAllowlist on text: value in [
"AL",
"AK",
Expand Down

0 comments on commit 06e82a8

Please sign in to comment.