Skip to content

Commit

Permalink
Fix typos (#11586)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdwheeler authored Dec 12, 2024
1 parent 48b0b2f commit 802c422
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions reference/5.1/Microsoft.PowerShell.Core/About/about_Ref.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,10 @@ A reference type variable is created using
Even though `[ref]` is a type accelerator for
`[System.Management.Automation.PSReference]`, they behave differently.

- When you use `[ref]` to cast a variable, PowerShell creates reference object
that contains reference to the original instance of the variable.
- When you use `[ref]` to cast a variable, PowerShell creates a reference object
that contains a reference to the original instance of the variable.
- When you use `[System.Management.Automation.PSReference]` to cast a variable,
PowerShell creates reference object that contains a copy of the variable,
PowerShell creates a reference object that contains a copy of the variable,
rather than a reference to the original instance.

For example, the following script creates a variable `$x` and two reference
Expand Down
6 changes: 3 additions & 3 deletions reference/7.4/Microsoft.PowerShell.Core/About/about_Ref.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,10 @@ A reference type variable is created using
Even though `[ref]` is a type accelerator for
`[System.Management.Automation.PSReference]`, they behave differently.

- When you use `[ref]` to cast a variable, PowerShell creates reference object
that contains reference to the original instance of the variable.
- When you use `[ref]` to cast a variable, PowerShell creates a reference object
that contains a reference to the original instance of the variable.
- When you use `[System.Management.Automation.PSReference]` to cast a variable,
PowerShell creates reference object that contains a copy of the variable,
PowerShell creates a reference object that contains a copy of the variable,
rather than a reference to the original instance.

For example, the following script creates a variable `$x` and two reference
Expand Down
6 changes: 3 additions & 3 deletions reference/7.5/Microsoft.PowerShell.Core/About/about_Ref.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,10 @@ A reference type variable is created using
Even though `[ref]` is a type accelerator for
`[System.Management.Automation.PSReference]`, they behave differently.

- When you use `[ref]` to cast a variable, PowerShell creates reference object
that contains reference to the original instance of the variable.
- When you use `[ref]` to cast a variable, PowerShell creates a reference object
that contains a reference to the original instance of the variable.
- When you use `[System.Management.Automation.PSReference]` to cast a variable,
PowerShell creates reference object that contains a copy of the variable,
PowerShell creates a reference object that contains a copy of the variable,
rather than a reference to the original instance.

For example, the following script creates a variable `$x` and two reference
Expand Down

0 comments on commit 802c422

Please sign in to comment.