1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
//! Implementation detail of the `konst` crate.
#![no_std]
#![cfg_attr(feature = "nightly_mut_refs", feature(const_mut_refs))]

#[cfg(feature = "rust_1_56")]
#[macro_use]
mod array_macros;

#[macro_use]
mod internal_macros;

pub mod into_iter;
#[doc(hidden)]
pub mod iter;

#[macro_use]
mod option_macros_;

#[macro_use]
mod result_macros_;

#[macro_use]
#[doc(hidden)]
pub mod slice_;

#[macro_use]
#[doc(hidden)]
pub mod string;

#[doc(hidden)]
pub mod utils;

#[doc(hidden)]
#[cfg(feature = "rust_1_56")]
mod type_eq;

#[doc(hidden)]
#[cfg(feature = "rust_1_56")]
pub mod collect_const;

#[doc(hidden)]
#[cfg(feature = "rust_1_56")]
pub mod utils_1_56;

#[doc(hidden)]
pub mod __ {
    pub use core::panic;

    #[cfg(feature = "rust_1_56")]
    pub use crate::{
        array_macros::{assert_array, uninit_array, AssumInitCopyArray},
        collect_const::{CollectorCmd, ComputedLength},
        type_eq::TypeEq,
    };

    pub use crate::into_iter::{EmptyIter, IntoIterWrapper, IsIntoIterKind};

    pub use core::{
        cmp::Ordering::{self, Equal, Greater, Less},
        compile_error, concat,
        marker::PhantomData,
        matches,
        mem::{transmute, ManuallyDrop, MaybeUninit},
        ops::Range,
        option::Option::{self, None, Some},
        primitive::{bool, str, u8, usize},
        result::Result::{self, Err, Ok},
        str::from_utf8_unchecked,
        stringify,
    };
}