Skip to content

Commit 661ccd1

Browse files
committed
prepare v0.3.5
1 parent 40d05cb commit 661ccd1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ keywords = ["error", "api", "framework"]
1414

1515
[features]
1616
default = []
17-
axum = ["dep:axum", "dep:serde_json"] # IntoResponse + JSON body
17+
axum = ["dep:axum", "dep:serde_json"] # IntoResponse + JSON body
1818
actix = ["dep:actix-web", "dep:serde_json"]
1919
sqlx = ["dep:sqlx"]
2020
redis = ["dep:redis"]
2121
validator = ["dep:validator"]
2222
serde_json = ["dep:serde_json"]
23-
config = ["dep:config"] # config::ConfigError -> AppError
23+
config = ["dep:config"] # config::ConfigError -> AppError
2424
multipart = ["axum"]
2525
tokio = ["dep:tokio"]
2626
reqwest = ["dep:reqwest"]

src/convert/telegram_webapp_sdk.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
//!
1919
//! ## Example
2020
//!
21-
//! ```rust
21+
//! '''rust
2222
//! # #[cfg(feature = "telegram-webapp-sdk")]
2323
//! # {
24-
//! ```rust,ignore
24+
//! '''rust,ignore
2525
//! use masterror::{AppError, AppErrorKind};
2626
//! use telegram_webapp_sdk::utils::validate_init_data::ValidationError;
2727
//!
@@ -33,7 +33,7 @@
3333
//! assert!(matches!(e.kind, AppErrorKind::TelegramAuth));
3434
//! assert_eq!(e.message.as_deref(), Some("signature mismatch"));
3535
//! # }
36-
//! ```
36+
//! '''
3737
3838
#[cfg(feature = "telegram-webapp-sdk")]
3939
use telegram_webapp_sdk::utils::validate_init_data::ValidationError;

0 commit comments

Comments
 (0)