Skip to content

Commit c55fd5f

Browse files
authored
Fix ambiguous reference to terminal middleware (#34405)
1 parent f15d0b6 commit c55fd5f

File tree

1 file changed

+1
-1
lines changed
  • aspnetcore/fundamentals/middleware

1 file changed

+1
-1
lines changed

aspnetcore/fundamentals/middleware/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ The following table shows the requests and responses from `http://localhost:1234
262262
| `localhost:1234` | `Hello from non-Map delegate.` |
263263
| `localhost:1234/?branch=main` | `Branch used = main` |
264264

265-
<xref:Microsoft.AspNetCore.Builder.UseWhenExtensions.UseWhen%2A> also branches the request pipeline based on the result of the given predicate. Unlike with `MapWhen`, this branch is rejoined to the main pipeline if it doesn't short-circuit or contain a terminal middleware:
265+
<xref:Microsoft.AspNetCore.Builder.UseWhenExtensions.UseWhen%2A> also branches the request pipeline based on the result of the given predicate. Unlike with `MapWhen`, this branch is rejoined to the main pipeline if it doesn't contain a terminal middleware:
266266

267267
[!code-csharp[](~/fundamentals/middleware/index/snapshot/Chain60/ProgramUseWhen.cs?highlight=4-5)]
268268

0 commit comments

Comments
 (0)