mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Fix indentation
This commit is contained in:
+2
-3
@@ -1,4 +1,4 @@
|
|||||||
package mem
|
#package mem
|
||||||
|
|
||||||
import "base:runtime"
|
import "base:runtime"
|
||||||
import "base:intrinsics"
|
import "base:intrinsics"
|
||||||
@@ -176,8 +176,7 @@ The comparison is performed as follows:
|
|||||||
- If the byte in slice `a` is bigger than a byte in slice `b`, then comparison
|
- If the byte in slice `a` is bigger than a byte in slice `b`, then comparison
|
||||||
stops and this procedure returns `+1`.
|
stops and this procedure returns `+1`.
|
||||||
- Otherwise the comparison continues until `min(len(a), len(b))` are compared.
|
- Otherwise the comparison continues until `min(len(a), len(b))` are compared.
|
||||||
2. If all the bytes in the range are equal, then the lengths of the slices are
|
2. If all the bytes in the range are equal, then the lengths of the slices are compared.
|
||||||
compared.
|
|
||||||
- If the length of slice `a` is smaller than the length of slice `b`, then `-1` is returned.
|
- If the length of slice `a` is smaller than the length of slice `b`, then `-1` is returned.
|
||||||
- If the length of slice `b` is smaller than the length of slice `b`, then `+1` is returned.
|
- If the length of slice `b` is smaller than the length of slice `b`, then `+1` is returned.
|
||||||
- Otherwise `0` is returned.
|
- Otherwise `0` is returned.
|
||||||
|
|||||||
Reference in New Issue
Block a user