We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 809a1a5 commit 6a6c379Copy full SHA for 6a6c379
src/key.rs
@@ -208,6 +208,14 @@ impl fmt::Debug for KeyCalculator {
208
}
209
210
/// Macro to create a [`Key`] (usable as `const`).
211
+///
212
+/// # Examples
213
214
+/// ```
215
+/// const KEY1: Key = key!("b7f783baed8297f0db917462184ff4f08e69c2d5e5f79a942600f9725f58ce1f29c18139bf80b06c0fff2bdd34738452ecf40c488c22a7e3d80cdf6f9c1c0d47");
216
217
+/// const KEY2: Key = key!("45546d4d71407e82ecda31eba5bf74b65bc092b0436a2409a6b615c1f78fdb2d3da371758f07a65b5d2b3ee8fa9ea0c772dd1eff884c4c77d4290177b002ccdc");
218
219
#[macro_export]
220
#[doc(hidden)]
221
macro_rules! key {
0 commit comments