Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
Add documentation to macro
Browse files Browse the repository at this point in the history
  • Loading branch information
TTWNO committed Jun 3, 2024
1 parent 3722505 commit fb4b479
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fry_normalize/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ use alloc::{
use regex::Regex;
use num_bigfloat::BigFloat;

/// Asserts that two `&str`s, the first passed through the [`normalize`]
/// function, and the second compared against the original are equal.
macro_rules! normalize_check {
($string:expr, $result:expr) => {
assert_eq!(
Expand Down

0 comments on commit fb4b479

Please sign in to comment.