From 7d4c75a2da39cc51323b3c3c77fc6f6abfda9ed6 Mon Sep 17 00:00:00 2001 From: anurmatov Date: Thu, 16 Jul 2020 14:14:04 +0600 Subject: [PATCH] Update unsafe-code.md It should be specified comparison operator `>=` (greater than or equal) instead of lambda `=>` --- spec/unsafe-code.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/unsafe-code.md b/spec/unsafe-code.md index 105e762..74bff33 100644 --- a/spec/unsafe-code.md +++ b/spec/unsafe-code.md @@ -270,7 +270,7 @@ In an unsafe context, several constructs are available for operating on pointers * The `&` operator may be used to obtain the address of a variable ([The address-of operator](unsafe-code.md#the-address-of-operator)). * The `++` and `--` operators may be used to increment and decrement pointers ([Pointer increment and decrement](unsafe-code.md#pointer-increment-and-decrement)). * The `+` and `-` operators may be used to perform pointer arithmetic ([Pointer arithmetic](unsafe-code.md#pointer-arithmetic)). -* The `==`, `!=`, `<`, `>`, `<=`, and `=>` operators may be used to compare pointers ([Pointer comparison](unsafe-code.md#pointer-comparison)). +* The `==`, `!=`, `<`, `>`, `<=`, and `>=` operators may be used to compare pointers ([Pointer comparison](unsafe-code.md#pointer-comparison)). * The `stackalloc` operator may be used to allocate memory from the call stack ([Fixed size buffers](unsafe-code.md#fixed-size-buffers)). * The `fixed` statement may be used to temporarily fix a variable so its address can be obtained ([The fixed statement](unsafe-code.md#the-fixed-statement)).