Skip to content

Commit ce56add

Browse files
committed
Document raw-api needed on methods.
1 parent 0a5746d commit ce56add

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/lib.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ impl<'a, K: 'a + Eq + Hash, V: 'a> DashMap<K, V> {
105105
}
106106

107107
/// Allows you to peek at the inner shards that store your data.
108-
/// You should probably not use this.
108+
/// You should probably not use this unless you know what you are doing.
109+
///
110+
/// Requires the `raw-api` feature to be enabled.
109111
///
110112
/// # Examples
111113
///
@@ -131,7 +133,9 @@ impl<'a, K: 'a + Eq + Hash, V: 'a> DashMap<K, V> {
131133
}
132134

133135
/// Finds which shard a certain key is stored in.
134-
/// You should probably not use this.
136+
/// You should probably not use this unless you know what you are doing.
137+
///
138+
/// Requires the `raw-api` feature to be enabled.
135139
///
136140
/// # Examples
137141
///

0 commit comments

Comments
 (0)