Skip to content

Commit 9f31aa7

Browse files
authored
Merge pull request #235 from fermyon/lann-doc-fixes
docs: A few small fixes
2 parents 39ad612 + 29a38c7 commit 9f31aa7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/content/http-trigger.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,12 @@ Spin HTTP _executor_ is defined using WebAssembly interfaces.
104104

105105
> The WebAssembly component model is in its early stages, and during the `0.x`
106106
> releases of Spin, the triggers and application entry points will suffer
107-
> breaking changes, particularly around the primitive types used to defined
107+
> breaking changes, particularly around the primitive types used to define
108108
> the HTTP objects and function signatures — i.e. bodies will become streams,
109109
> handler functions will become asynchronous.
110110
111111
We define the HTTP objects as
112-
[WebAssembly Interface (WIT)]((https://github.com/bytecodealliance/wit-bindgen/blob/main/WIT.md))
112+
[WebAssembly Interface (WIT)](https://github.com/bytecodealliance/wit-bindgen/blob/main/WIT.md)
113113
objects, currently using _records_:
114114

115115
```fsharp

docs/content/rust-components.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ audible only to dogs, just for his Shetland sheepdog."}
126126

127127
> Without the `allowed_http_hosts` field populated properly in `spin.toml`,
128128
> the component would not be allowed to send HTTP requests, and sending the
129-
> request would generate in a "Destination not allowed" error.
129+
> request would result in a "Destination not allowed" error.
130130
131131
We just built a WebAssembly component that sends an HTTP request to another
132132
service, manipulates that result, then responds to the original request.
@@ -140,7 +140,7 @@ Besides the HTTP trigger, Spin has built-in support for a Redis trigger —
140140
which will connect to a Redis instance and will execute Spin components for
141141
new messages on the configured channels.
142142

143-
> See the [Redis trigger](/redis-rigger) for details about the Redis trigger.
143+
> See the [Redis trigger](/redis-trigger) for details about the Redis trigger.
144144
145145
Writing a Redis component in Rust also takes advantage of the SDK:
146146

@@ -186,7 +186,7 @@ This application will connect to `redis://localhost:6379`, and for every new
186186
message on the `messages` channel, the `echo-message` component will be executed.
187187

188188
```bash
189-
# first, start redis-server on the default prot 6379
189+
# first, start redis-server on the default port 6379
190190
$ redis-server --port 6379
191191
# then, start the Spin application
192192
$ spin up --file spin.toml

0 commit comments

Comments
 (0)