Add features info in docs.

This commit is contained in:
Stephen Chung
2020-04-03 19:42:01 +08:00
parent c6216c0823
commit 92b549b828
8 changed files with 64 additions and 11 deletions

View File

@@ -61,6 +61,8 @@ pub(crate) struct EntryRef<'a> {
///
/// When searching for entries, newly-added entries are found before similarly-named but older entries,
/// allowing for automatic _shadowing_.
///
/// Currently, `Scope` is neither `Send` nor `Sync`. Turn on the `sync` feature to make it `Send + Sync`.
pub struct Scope<'a>(Vec<Entry<'a>>);
impl<'a> Scope<'a> {