We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fef6217 commit 22977caCopy full SHA for 22977ca
src/bounds.rs
@@ -743,6 +743,24 @@ mod tests {
743
)),
744
);
745
746
+ assert_eq!(
747
+ UserBounds::from_str("1=allow:colon:in:fallback").ok(),
748
+ Some(UserBounds::with_fallback(
749
+ Side::Some(1),
750
751
+ Some("allow:colon:in:fallback".as_bytes().to_owned())
752
+ )),
753
+ );
754
+
755
756
+ UserBounds::from_str("1:2=allow:colon:in:fallback").ok(),
757
758
759
+ Side::Some(2),
760
761
762
763
764
{
765
#![allow(clippy::bind_instead_of_map)]
766
assert_eq!(
0 commit comments