Skip to content

Commit f9d3576

Browse files
committed
Fix rust beta doc macro complaints.
1 parent dac596d commit f9d3576

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lightning-invoice/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ impl SignedRawInvoice {
795795
/// variant. If no element was found `None` gets returned.
796796
///
797797
/// The following example would extract the first B.
798-
/// ```
798+
/// ``
799799
/// use Enum::*;
800800
///
801801
/// enum Enum {
@@ -806,7 +806,7 @@ impl SignedRawInvoice {
806806
/// let elements = vec![A(1), A(2), B(3), A(4)];
807807
///
808808
/// assert_eq!(find_extract!(elements.iter(), Enum::B(ref x), x), Some(3u16));
809-
/// ```
809+
/// ``
810810
macro_rules! find_extract {
811811
($iter:expr, $enm:pat, $enm_var:ident) => {
812812
find_all_extract!($iter, $enm, $enm_var).next()
@@ -817,7 +817,7 @@ macro_rules! find_extract {
817817
/// variant through an iterator.
818818
///
819819
/// The following example would extract all A.
820-
/// ```
820+
/// ``
821821
/// use Enum::*;
822822
///
823823
/// enum Enum {
@@ -831,7 +831,7 @@ macro_rules! find_extract {
831831
/// find_all_extract!(elements.iter(), Enum::A(ref x), x).collect::<Vec<u8>>(),
832832
/// vec![1u8, 2u8, 4u8]
833833
/// );
834-
/// ```
834+
/// ``
835835
macro_rules! find_all_extract {
836836
($iter:expr, $enm:pat, $enm_var:ident) => {
837837
$iter.filter_map(|tf| match *tf {

0 commit comments

Comments
 (0)