Skip to content

Commit 3384724

Browse files
authored
docs: correct spelling of "separate" in comments (#35484)
### **Issue # (if applicable)** Closes #35483. ### **Reason for this change** Fixed spelling errors in code comments where "seperate" was used instead of the correct spelling "separate". ### **Description of changes** Corrected two instances of misspelled "separate" in documentation comments: - Fixed "seperated" → "separated" in `core/lib/arn.ts:46` - Fixed "seperate" → "separate" in `aws-globalaccelerator/lib/listener.ts:50` These are simple spelling corrections that improve documentation quality without any functional changes. ### **Describe any new or updated permissions being added** None. This change only affects documentation comments. ### **Description of how you validated changes** - Verified spelling corrections are accurate - Confirmed no functional code changes - Build passes successfully ### **Checklist** - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
1 parent 0a55ed1 commit 3384724

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/aws-cdk-lib/aws-globalaccelerator/lib/listener.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export interface ListenerOptions {
4747
* If you have stateful applications, client affinity lets you direct all
4848
* requests from a user to the same endpoint.
4949
*
50-
* By default, each connection from each client is routed to seperate
50+
* By default, each connection from each client is routed to separate
5151
* endpoints. Set client affinity to SOURCE_IP to route all connections from
5252
* a single client to the same endpoint.
5353
*

packages/aws-cdk-lib/core/lib/arn.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export enum ArnFormat {
4343

4444
/**
4545
* This represents a format where the 'resource' and 'resourceName'
46-
* parts are seperated with a slash,
46+
* parts are separated with a slash,
4747
* but there is also an additional slash after the colon separating 'account' from 'resource'.
4848
* Like in: 'arn:aws:service:region:account:/resource/resourceName'.
4949
* Note that the leading slash is _not_ included in the parsed 'resource' part.

0 commit comments

Comments
 (0)