@@ -795,7 +795,7 @@ impl SignedRawInvoice {
795
795
/// variant. If no element was found `None` gets returned.
796
796
///
797
797
/// The following example would extract the first B.
798
- /// ```
798
+ /// ``
799
799
/// use Enum::*;
800
800
///
801
801
/// enum Enum {
@@ -806,7 +806,7 @@ impl SignedRawInvoice {
806
806
/// let elements = vec![A(1), A(2), B(3), A(4)];
807
807
///
808
808
/// assert_eq!(find_extract!(elements.iter(), Enum::B(ref x), x), Some(3u16));
809
- /// ```
809
+ /// ``
810
810
macro_rules! find_extract {
811
811
( $iter: expr, $enm: pat, $enm_var: ident) => {
812
812
find_all_extract!( $iter, $enm, $enm_var) . next( )
@@ -817,7 +817,7 @@ macro_rules! find_extract {
817
817
/// variant through an iterator.
818
818
///
819
819
/// The following example would extract all A.
820
- /// ```
820
+ /// ``
821
821
/// use Enum::*;
822
822
///
823
823
/// enum Enum {
@@ -831,7 +831,7 @@ macro_rules! find_extract {
831
831
/// find_all_extract!(elements.iter(), Enum::A(ref x), x).collect::<Vec<u8>>(),
832
832
/// vec![1u8, 2u8, 4u8]
833
833
/// );
834
- /// ```
834
+ /// ``
835
835
macro_rules! find_all_extract {
836
836
( $iter: expr, $enm: pat, $enm_var: ident) => {
837
837
$iter. filter_map( |tf| match * tf {
0 commit comments