Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
emlun authored and jschanck committed Jul 19, 2024
1 parent aace29d commit 86ca747
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ pub fn decode_hex(s: &str) -> Vec<u8> {
/// Arguments:
/// - An expression of type [serde::Serializer]. This expression will be bound
/// to a local variable and thus evaluated only once.
/// - 0 to 10 (inclusive) more entries of the form `$key => $value,`, where
/// `$key` is any expression and `$value` is an expression of type
/// [Option<T>]. The entry will be included in the map if and only if the
/// `$value` is [Some]. Each key and value expression is evaluated only once.
/// - 0 to 10 (inclusive) entries of the form `$key => $value,`, where `$key` is
/// any expression and `$value` is an expression of type [Option<T>]. The
/// entry will be included in the map if and only if the `$value` is [Some].
/// Each key and value expression is evaluated only once.
/// - The 11th entry and forward instead needs to take the form `$ident: $key =>
/// $value,`, where `$ident` is an arbitrary identifier. These `$ident`s are
/// needed in order to bind each `$value` as a local variable, in order to
Expand Down

0 comments on commit 86ca747

Please sign in to comment.