aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2019-08-09 20:47:52 +0200
committerPietro Albini <pietro@pietroalbini.org>2019-08-09 20:48:46 +0200
commitb1aa4f7129e4a3a9d3f420881bff25fb95752626 (patch)
treebeefef1f2e1b18a575ae1587fd5e621991488bf5 /src/lib.rs
parent5c6c3750727515fa4fc5bc3bc653293f5293f2c6 (diff)
downloadmilf-rs-b1aa4f7129e4a3a9d3f420881bff25fb95752626.tar.gz
milf-rs-b1aa4f7129e4a3a9d3f420881bff25fb95752626.zip
include Spanned in the docs
The `Spanned` struct was originally included in the docs as a re-export, but rustdoc doesn't render re-exports if the module from which it's exported isn't documented. Since `Spanned` is the only public item inside the `spanned` module this commit shows the struct as a normal item in the index, and moves the example from the module docs to the struct docs.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 30ee3bc..fb04984 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -166,5 +166,4 @@ mod tokens;
pub mod macros;
mod spanned;
-#[doc(no_inline)]
pub use crate::spanned::Spanned;