Skip to content

Commit

Permalink
Remove incorrect conversions.
Browse files Browse the repository at this point in the history
  • Loading branch information
gafter committed Nov 20, 2024
1 parent 7209377 commit 16d9020
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions standard/unsafe-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@ In an unsafe context, the set of available implicit conversions ([§10.2](conver
- From any *pointer_type* to the type `void*`.
- From the `null` literal ([§6.4.5.7](lexical-structure.md#6457-the-null-literal)) to any *pointer_type*.
- From any *pointer_type* to the type `System.Span<T>`, where `T` is the referent type of *pointer_type*.
Additionally, in an unsafe context, the set of available explicit conversions ([§10.3](conversions.md#103-explicit-conversions)) is extended to include the following explicit pointer conversions:
Expand All @@ -289,7 +288,6 @@ Finally, in an unsafe context, the set of standard implicit conversions ([§10.4
- From any *pointer_type* to the type `void*`.
- From the `null` literal to any *pointer_type*.
- From any *pointer_type* to the type `System.Span<T>`, where `T` is the referent type of *pointer_type*.
Conversions between two pointer types never change the actual pointer value. In other words, a conversion from one pointer type to another has no effect on the underlying address given by the pointer.
Expand Down

0 comments on commit 16d9020

Please sign in to comment.