Skip to content
This repository was archived by the owner on Jun 2, 2020. It is now read-only.

Commit d0eb1e7

Browse files
committed
Minor fixes to documentation.
1 parent 3a31619 commit d0eb1e7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ This will create a new application in the `./hello` directory with a module name
150150
Use the `cargo func new` command to create a new HTTP-triggered Azure Function named `hello`:
151151

152152
``` bash
153-
cargo func new http -n hello
153+
cargo func new http hello
154154
```
155155

156156
The source for the function will be in `src/functions/hello.rs`.

azure-functions-sdk/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
//! Create a HTTP-triggered function:
1818
//!
1919
//! ```bash
20-
//! $ cargo func new http -n hello
20+
//! $ cargo func new http hello
2121
//! ```
2222
//!
2323
//! This generates `src/functions/hello.rs` with the following contents:

azure-functions/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//!
77
//! * [Blob trigger](bindings/struct.BlobTrigger.html)
88
//! * [Cosmos DB trigger](bindings/struct.CosmosDbTrigger.html)
9-
//! * [Durable Activity trigger](bindings/struct.DurableOrchestrationContext.html)
9+
//! * [Durable Activity trigger](bindings/struct.DurableActivityContext.html)
1010
//! * [Durable Orchestration trigger](bindings/struct.DurableOrchestrationContext.html)
1111
//! * [Event Grid trigger](bindings/struct.EventGridEvent.html)
1212
//! * [Event Hub trigger](bindings/struct.EventHubTrigger.html)
@@ -59,7 +59,7 @@
5959
//! Create a HTTP-triggered function:
6060
//!
6161
//! ```bash
62-
//! $ cargo func new http -n hello
62+
//! $ cargo func new http hello
6363
//! ```
6464
//!
6565
//! This generates `src/functions/hello.rs` with the following contents:

0 commit comments

Comments
 (0)