Fix indentation

This commit is contained in:
gingerBill
2025-03-31 10:40:03 +01:00
parent 08ad2d20cd
commit dcb683927e
+2 -3
View File
@@ -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.