1#![cfg_attr(feature = "better-docs",
2 cfg_attr(all(), doc = include_str!("../README.md")),
3 feature(doc_cfg),
4)]
5#"
7)]
8#![cfg_attr(not(feature = "better-docs"),
9 doc = "for more info about this crate."
10)]
11
12#![cfg_attr(not(doc),
13 no_std,
14)]
15
16#![forbid(unsafe_code)]
17
18pub mod prelude {
19 #[doc(no_inline)]
20 pub use crate::{
21 all, any,
22 macros::{
23 lazy_format as f,
24 iter as i,
25 },
26 extension_traits::{
27 Join as _,
28 },
29 };
30
31 #[doc(no_inline)]
32 #[cfg(feature = "std")]
33 #[cfg_attr(feature = "better-docs",
34 doc(cfg(feature = "std")),
35 )]
36 pub use crate::{
37 extension_traits::IteratorExt as _,
38 macros::vec as v,
39 };
40}
41
42pub
43mod extension_traits;
44
45pub
46mod macros;
47
48#[inline]
67pub
68fn all (
69 iterable: impl IntoIterator<Item = bool>,
70) -> bool
71{
72 iterable
73 .into_iter()
74 .all(::core::convert::identity)
75}
76
77#[inline]
92pub
93fn any (
94 iterable: impl IntoIterator<Item = bool>,
95) -> bool
96{
97 iterable
98 .into_iter()
99 .any(::core::convert::identity)
100}
101
102#[doc(hidden)] pub
103mod __ {
104 pub use core;
105
106 #[cfg(feature = "std")] pub
107 extern crate std;
108}