File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
5
5
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
- refs/heads/try2: 06a8d59ded67dfaa589112ceb8a8e031bc575249
8
+ refs/heads/try2: 4f462a05066ea4ddbe65d3033402e7c80247ddde
9
9
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
10
10
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
11
11
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change @@ -559,7 +559,7 @@ pub struct CowArc<T> { priv x: UnsafeArc<T> }
559
559
/// mutation of the contents if there is only a single reference to
560
560
/// the data. If there are multiple references the data is automatically
561
561
/// cloned and the task modifies the cloned data in place of the shared data.
562
- impl < T : Clone +Send > CowArc < T > {
562
+ impl < T : Clone +Send + Freeze > CowArc < T > {
563
563
/// Create a copy-on-write atomically reference counted wrapper
564
564
#[ inline]
565
565
pub fn new ( data : T ) -> CowArc < T > {
@@ -583,7 +583,7 @@ impl<T:Clone+Send> CowArc<T> {
583
583
}
584
584
}
585
585
586
- impl < T : Clone +Send > Clone for CowArc < T > {
586
+ impl < T : Clone +Send + Freeze > Clone for CowArc < T > {
587
587
/// Duplicate a Copy-on-write Arc. See arc::clone for more details.
588
588
#[ inline]
589
589
fn clone ( & self ) -> CowArc < T > {
You can’t perform that action at this time.
0 commit comments