Skip to content

Commit e916ea0

Browse files
committed
chore: fix code example
The example just illustrates different uses without being a proper fully working example, hence don't compile or test it. Fixes #75.
1 parent be17038 commit e916ea0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/digests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub type MultihashRef<'a> = MultihashRefGeneric<'a, Code>;
2121
///
2222
/// # Example
2323
///
24-
/// ```no-run
24+
/// ```ignore
2525
/// let hasher1: BoxedMultihashDigest = Code::Sha3_512.into();
2626
/// let hasher2: BoxedMultihashDigest<_> = MyCodecTable::MyHash.into();
2727
/// ```

0 commit comments

Comments
 (0)