fix some typos

This commit is contained in:
rvcas
2023-04-07 16:51:18 -04:00
parent d0d482b3cb
commit 1444c9328d
16 changed files with 26 additions and 26 deletions

View File

@@ -1,5 +1,5 @@
/// An opaque `Dict`. The type is opaque because the module maintains some
/// invariant, namely: there's only one occurence of a given key in the dictionnary.
/// invariant, namely: there's only one occurrence of a given key in the dictionary.
pub opaque type Dict<key, value> {
inner: List<(ByteArray, value)>,
}

View File

@@ -1,7 +1,7 @@
fn substract(x, y) {
fn subtract(x, y) {
x - y
}
test flip_1() {
flip(substract)(3, 2) == -1
flip(subtract)(3, 2) == -1
}

View File

@@ -132,7 +132,7 @@ export default function App({ validators }: AppProps) {
const success = await lucid!.awaitTx(txHash);
// Wait a little bit longer so ExhuastedUTxOError doesn't happen
// Wait a little bit longer so ExhaustedUTxOError doesn't happen
// in the next Tx
setTimeout(() => {
setWaitingLockTx(false);

View File

@@ -1,7 +1,7 @@
import { Head } from "$fresh/runtime.ts";
import { Handlers, PageProps } from "$fresh/server.ts";
import App from "~/islands/App.tsx";
import Oneshot from "~/islands/Oneshot.tsx";
import { readValidators, Validators } from "~/utils.ts";
@@ -43,7 +43,7 @@ export default function Home({ data }: PageProps<Data>) {
</pre>
</div>
<App validators={validators} />
<Oneshot validators={validators} />
</div>
</>
);