commit | 4a23282db6e77c936c068df10c1d322480ed1eb6 | [log] [tgz] |
---|---|---|
author | Sergio Benitez <sb@sergio.bz> | Tue Aug 28 17:06:22 2018 -0700 |
committer | Sergio Benitez <sb@sergio.bz> | Tue Aug 28 17:06:22 2018 -0700 |
tree | f3d406d2213d2b5b51928ea0115ed5fe3a7ad5a4 | |
parent | e9d344f6d8d89cac042fcf5489e7cac0b5568838 [diff] |
Enable 'unstable' method if the 'nightly' feature is enabled.
diff --git a/src/lib.rs b/src/lib.rs index 4e08482..44c56c3 100644 --- a/src/lib.rs +++ b/src/lib.rs
@@ -328,7 +328,8 @@ } /// This method is only available when the `"nightly"` feature is enabled. - #[cfg(super_unstable)] + #[doc(hidden)] + #[cfg(any(feature = "nightly", super_unstable))] pub fn unstable(self) -> proc_macro::Span { self.inner.unstable() }