Lines Matching refs:std

42 //! [`println!`]: https://doc.rust-lang.org/stable/std/macro.println.html
99 //! # fn find_a_razor() -> Result<u32, std::io::Error> { Ok(1) }
215 //! # Use with `std`
219 //! `set_boxed_logger` function is available with the `std` Cargo feature. It is
232 //! # #[cfg(feature = "std")]
276 //! * `std` allows use of `std` crate instead of the default `core`. Enables using `std::error` and
282 //! log = { version = "0.4", features = ["std", "serde"] }
322 #![cfg_attr(all(not(feature = "std"), not(test)), no_std)]
328 #[cfg(all(not(feature = "std"), not(test)))]
329 extern crate core as std;
334 use std::cmp;
335 #[cfg(feature = "std")]
336 use std::error;
337 use std::fmt;
338 use std::mem;
339 use std::str::FromStr;
349 use std::sync::atomic::{AtomicUsize, Ordering};
352 use std::cell::Cell;
354 use std::sync::atomic::Ordering;
541 // Reimplemented here because std::ascii is not available in libcore
1051 /// [`format_args!("")`]: https://doc.rust-lang.org/std/macro.format_args.html
1326 #[cfg(feature = "std")]
1327 impl<T> Log for std::boxed::Box<T>
1343 #[cfg(feature = "std")]
1344 impl<T> Log for std::sync::Arc<T>
1400 /// Requires the `std` feature.
1407 #[cfg(all(feature = "std", atomic_cas))]
1423 /// This method is available even when the `std` feature is disabled. However,
1495 std::sync::atomic::spin_loop_hint();
1551 #[cfg(feature = "std")]
1556 /// [`from_str`]: https://doc.rust-lang.org/std/str/trait.FromStr.html#tymethod.from_str
1568 #[cfg(feature = "std")]
1641 pub use std::option::Option;
1685 extern crate std;
1687 use tests::std::string::ToString;
1801 #[cfg(feature = "std")]
1947 #[cfg(feature = "std")]
1948 use std::sync::Arc;
1954 #[cfg(feature = "std")]
1957 #[cfg(feature = "std")]
1963 #[cfg(feature = "std")]
1968 #[cfg(feature = "std")]