File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ use crate::static_str::StaticStr;
66
77#[ doc( hidden) ]
88pub mod import {
9- pub use std:: { fmt , marker:: PhantomData , sync:: LazyLock } ;
9+ pub use std:: { marker:: PhantomData , sync:: LazyLock } ;
1010}
1111
1212/// Represents static regular expressions (as returned in [`get`] of [`TypeRegex`]).
@@ -34,7 +34,7 @@ pub const INVALID: StaticStr = "invalid regex";
3434/// Is equivalent to:
3535///
3636/// ```
37- /// use std::{fmt, marker::PhantomData, sync::LazyLock};
37+ /// use std::{marker::PhantomData, sync::LazyLock};
3838///
3939/// use refinement_types::{Regex, StaticRegex, TypeRegex};
4040///
@@ -73,15 +73,5 @@ macro_rules! type_regex {
7373 LazyLock :: force( & REGEX )
7474 }
7575 }
76-
77- impl $crate:: type_regex:: import:: fmt:: Display for $name {
78- fn fmt(
79- & self , formatter: & mut $crate:: type_regex:: import:: fmt:: Formatter <' _>
80- ) -> $crate:: type_regex:: import:: fmt:: Result {
81- use $crate:: type_regex:: TypeRegex ;
82-
83- Self :: get( ) . fmt( formatter)
84- }
85- }
8676 } ;
8777}
You can’t perform that action at this time.
0 commit comments