Skip to content

Commit

Permalink
Merge pull request project-chip#87 from ssnover/fix-documentation-pag…
Browse files Browse the repository at this point in the history
…e-example

Fix the example section of the cargo generated documentation
  • Loading branch information
kedars authored Aug 16, 2023
2 parents bd166e4 + 817138b commit 4c347c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rs-matter/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
//! Currently Ethernet based transport is supported.
//!
//! # Examples
//! TODO: Fix once new API has stabilized a bit
//! ```ignore
//! /// TODO: Fix once new API has stabilized a bit
//! use rs_matter::{Matter, CommissioningData};
//! use rs_matter::data_model::device_types::device_type_add_on_off_light;
//! use rs_matter::data_model::cluster_basic_information::BasicInfoConfig;
Expand Down Expand Up @@ -65,6 +66,7 @@
//! }
//! // Start the Matter Daemon
//! // matter.start_daemon().unwrap();
//! ```
//!
//! Start off exploring by going to the [Matter] object.
#![cfg_attr(not(feature = "std"), no_std)]
Expand Down

0 comments on commit 4c347c0

Please sign in to comment.