Skip to content

Commit

Permalink
doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
2A5F committed Jul 11, 2020
1 parent a08f9c5 commit 384a7c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "batch_oper"
version = "1.11.0"
version = "1.11.1"
authors = ["BatchOperator", "Package <Aditrc@outlook.com>"]
edition = "2018"
description = "batch_oper provides some batch operation macro for some operations"
Expand Down
6 changes: 4 additions & 2 deletions src/combin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
//!
//! let c: (usize, i32, u8, f64) = b.after(0usize);
//! assert_eq!(c, (0, 1, 2, 3.0));
//!
//! ```
//! ```ignore
//! // feature = "combin-mutual"
//! let m: (u8, u8, u8, u8) = (1, 2).with((3, 4));
//! assert_eq!(m, (1, 2, 3, 4));
Expand All @@ -30,7 +31,8 @@
//!
//! let c: [u8; 4] = b.after(0);
//! assert_eq!(c, [0, 1, 2, 3]);
//!
//! ```
//! ```ignore
//! // feature = "combin-mutual"
//! let m: [u8; 4] = [1, 2].with([3, 4]);
//! assert_eq!(m, [1, 2, 3, 4]);
Expand Down

0 comments on commit 384a7c3

Please sign in to comment.