Skip to content

Commit

Permalink
add Validated
Browse files Browse the repository at this point in the history
  • Loading branch information
kalaninja committed Aug 27, 2023
1 parent 6bb2922 commit 1a1d19a
Show file tree
Hide file tree
Showing 5 changed files with 884 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/combinator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ constant_arity!(12);
/// let actual = Some(1).map(id);
/// assert_eq!(Some(1), actual);
/// ```
#[inline]
#[inline(always)]
pub const fn id<T>(x: T) -> T {
x
}
Expand Down
3 changes: 3 additions & 0 deletions src/data/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
//! Data types.

pub mod validated;
Loading

0 comments on commit 1a1d19a

Please sign in to comment.