Skip to content

Commit

Permalink
docs: Add doc_cfg in lib.rs to fix compilation on docsrs
Browse files Browse the repository at this point in the history
  • Loading branch information
jawoznia committed Mar 27, 2024
1 parent 0c16124 commit e5a24aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions sylvia/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg_attr(docsrs, feature(doc_cfg))]
//! Framework for creating CosmWasm Smart Contract with high-level abstraction layer
//!
//! Most of implementation lies in `sylvia-derive` crate which is reexported here
Expand Down
2 changes: 1 addition & 1 deletion sylvia/src/multitest.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! This module provides utilities to work with `cw_multi_test` crate.
//!
//! Example usage:
//! ## Example usage:
//! ```rust
//! # use sylvia::cw_std::{Response, StdResult};
//! # use sylvia::types::{ExecCtx, InstantiateCtx, QueryCtx};
Expand Down

0 comments on commit e5a24aa

Please sign in to comment.