mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-08 00:28:49 +00:00
Fix indentation
This commit is contained in:
+2
-3
@@ -1,4 +1,4 @@
|
||||
package mem
|
||||
#package mem
|
||||
|
||||
import "base:runtime"
|
||||
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
|
||||
stops and this procedure returns `+1`.
|
||||
- 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
|
||||
compared.
|
||||
2. If all the bytes in the range are equal, then the lengths of the slices are compared.
|
||||
- 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.
|
||||
- Otherwise `0` is returned.
|
||||
|
||||
Reference in New Issue
Block a user