We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa30281 commit 8785b9cCopy full SHA for 8785b9c
src/lib.rs
@@ -43,7 +43,7 @@ pub trait ProxyView {
43
/// has a unique proxy type associated with it, which is the one that produces the view. This also means
44
/// that the definition of these two traits mutually requires both to be defined simultaneously for any
45
/// view and proxy pair.
46
-pub trait ViewInverse<'a> {
+pub trait ViewInverse<'a>: Copy {
47
type Owned: 'a;
48
type Proxy: ProxyView<View<'a> = Self, Owned = Self::Owned>;
49
}
0 commit comments