Skip to content

Commit d49288d

Browse files
committed
Put the example code in code tags
1 parent bd166e4 commit d49288d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rs-matter/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
//!
2525
//! # Examples
2626
//! TODO: Fix once new API has stabilized a bit
27+
//! ```rust
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)