Skip to content

Commit 8c8d48c

Browse files
Doc wrangling.
1 parent 29b3c1b commit 8c8d48c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/lib.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
//! - Lenticuloids that deal with the `!` type
1010
//! - `const fn` support
1111
//! - More efficient implementation of some macros
12+
//!
13+
//! To get started easily, import
14+
//! [`refraction::prelude::*`](prelude/index.html).
1215
1316
#![cfg_attr(feature = "nightly", feature(never_type, const_fn))]
1417
#![cfg_attr(feature = "cargo-clippy", allow(expl_impl_clone_on_copy, type_complexity))]
@@ -20,7 +23,8 @@ extern crate nodrop;
2023
/// A [prelude module](https://doc.rust-lang.org/std/prelude/#other-preludes)
2124
/// suitible for glob-importing.
2225
pub mod prelude {
23-
pub use super::{AndThenExt, ComposeExt, Identity, InvertExt, Iso, Lens, PartialLens, Prism};
26+
#[doc(no_inline)]
27+
pub use ::{AndThenExt, ComposeExt, Identity, InvertExt, Iso, Lens, PartialLens, Prism};
2428
}
2529

2630
/// Some utility functions used inside this crate, but possibly useful for

0 commit comments

Comments
 (0)