diff --git a/stdlib/src/builtin/range.mojo b/stdlib/src/builtin/range.mojo index 1235f2a4e9..1d49d688eb 100644 --- a/stdlib/src/builtin/range.mojo +++ b/stdlib/src/builtin/range.mojo @@ -18,7 +18,6 @@ These are Mojo built-ins, so you don't need to import them. from python.object import PythonObject - # ===----------------------------------------------------------------------=== # # Utilities # ===----------------------------------------------------------------------=== # diff --git a/stdlib/src/builtin/simd.mojo b/stdlib/src/builtin/simd.mojo index 9058ccb6b4..bf31e0ee28 100644 --- a/stdlib/src/builtin/simd.mojo +++ b/stdlib/src/builtin/simd.mojo @@ -15,14 +15,15 @@ These are Mojo built-ins, so you don't need to import them. """ -from utils._numerics import FPUtils -from utils._numerics import isnan as _isnan, nan as _nan from sys import llvm_intrinsic from sys.info import has_neon, is_x86, simdwidthof from builtin.hash import _hash_simd from memory.unsafe import bitcast +from utils._numerics import FPUtils +from utils._numerics import isnan as _isnan +from utils._numerics import nan as _nan from utils._visualizers import lldb_formatter_wrapping_type from utils.static_tuple import StaticTuple diff --git a/stdlib/src/builtin/string.mojo b/stdlib/src/builtin/string.mojo index 1dc9acc7b1..39e11a959b 100644 --- a/stdlib/src/builtin/string.mojo +++ b/stdlib/src/builtin/string.mojo @@ -17,8 +17,8 @@ These are Mojo built-ins, so you don't need to import them. from collections import List from collections.dict import KeyElement -from sys.info import bitwidthof from sys import llvm_intrinsic +from sys.info import bitwidthof from memory.anypointer import AnyPointer from memory.memory import memcmp, memcpy diff --git a/stdlib/src/os/atomic.mojo b/stdlib/src/os/atomic.mojo index c7bb13dece..f75175ab27 100644 --- a/stdlib/src/os/atomic.mojo +++ b/stdlib/src/os/atomic.mojo @@ -20,7 +20,6 @@ from os.atomic import Atomic """ from builtin.dtype import _integral_type_of - from memory.unsafe import Pointer, bitcast diff --git a/stdlib/src/time/time.mojo b/stdlib/src/time/time.mojo index 8aa0a5ac82..99513886b8 100644 --- a/stdlib/src/time/time.mojo +++ b/stdlib/src/time/time.mojo @@ -19,10 +19,10 @@ from time import now ``` """ -from builtin.simd import _floor from sys import external_call from sys.info import os_is_linux, os_is_windows +from builtin.simd import _floor from memory.unsafe import Pointer # ===----------------------------------------------------------------------===# diff --git a/stdlib/src/utils/variant.mojo b/stdlib/src/utils/variant.mojo index d9383019b4..303ed86b3f 100644 --- a/stdlib/src/utils/variant.mojo +++ b/stdlib/src/utils/variant.mojo @@ -46,7 +46,6 @@ from memory.unsafe import _LITRef, emplace_ref_unsafe from utils.loop import unroll from utils.static_tuple import StaticTuple - # ===----------------------------------------------------------------------=== # # Utilities # ===----------------------------------------------------------------------=== # diff --git a/stdlib/test/test_utils/test_utils.mojo b/stdlib/test/test_utils/test_utils.mojo index 361d6a8c60..888867f265 100644 --- a/stdlib/test/test_utils/test_utils.mojo +++ b/stdlib/test/test_utils/test_utils.mojo @@ -4,9 +4,10 @@ # # ===----------------------------------------------------------------------=== # -from builtin.simd import _simd_apply from sys import external_call +from builtin.simd import _simd_apply + @always_inline fn libm_call[ diff --git a/stdlib/test/utils/test_list.mojo b/stdlib/test/utils/test_list.mojo index 3de44c6e22..5aa2c9974e 100644 --- a/stdlib/test/utils/test_list.mojo +++ b/stdlib/test/utils/test_list.mojo @@ -5,10 +5,10 @@ # ===----------------------------------------------------------------------=== # # RUN: %mojo -debug-level full %s | FileCheck %s +from buffer.list import Dim, DimList from testing import * from utils.index import StaticIntTuple -from buffer.list import Dim, DimList # CHECK-LABEL: test_dim_list