Skip to content

Commit 4c347c0

Browse files
authored
Merge pull request #87 from ssnover/fix-documentation-page-example
Fix the example section of the cargo generated documentation
2 parents bd166e4 + 817138b commit 4c347c0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rs-matter/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
//! Currently Ethernet based transport is supported.
2424
//!
2525
//! # Examples
26-
//! TODO: Fix once new API has stabilized a bit
26+
//! ```ignore
27+
//! /// TODO: Fix once new API has stabilized a bit
2728
//! use rs_matter::{Matter, CommissioningData};
2829
//! use rs_matter::data_model::device_types::device_type_add_on_off_light;
2930
//! use rs_matter::data_model::cluster_basic_information::BasicInfoConfig;
@@ -65,6 +66,7 @@
6566
//! }
6667
//! // Start the Matter Daemon
6768
//! // matter.start_daemon().unwrap();
69+
//! ```
6870
//!
6971
//! Start off exploring by going to the [Matter] object.
7072
#![cfg_attr(not(feature = "std"), no_std)]

0 commit comments

Comments
 (0)