File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change
1
+ 1.3.3 (2020-01-09)
2
+ ==================
3
+ This is a small maintenance release that upgrades the dependency on
4
+ ` thread_local ` from ` 0.3 ` to ` 1.0 ` . The minimum supported Rust version remains
5
+ at Rust 1.28.
6
+
7
+
1
8
1.3.2 (2020-01-09)
2
9
==================
3
10
This is a small maintenance release with some house cleaning and bug fixes.
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ optional = true
115
115
116
116
# For managing regex caches quickly across multiple threads.
117
117
[dependencies .thread_local ]
118
- version = " 0.3.6 "
118
+ version = " 1 "
119
119
optional = true
120
120
121
121
# For parsing regular expressions.
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ mod imp {
26
26
}
27
27
28
28
pub fn get_or ( & self , create : impl FnOnce ( ) -> T ) -> CachedGuard < T > {
29
- CachedGuard ( self . 0 . get_or ( || Box :: new ( create ( ) ) ) )
29
+ CachedGuard ( self . 0 . get_or ( || create ( ) ) )
30
30
}
31
31
}
32
32
You can’t perform that action at this time.
0 commit comments