Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
sdwheeler committed Dec 12, 2024
1 parent 2937b3d commit fb4a3a5
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 fb4a3a5

Please sign in to comment.