use defining uses of all bodies to constrain non-defining uses
support non-defining uses in closures
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
//! Frozen::freeze(new_bar)`).
|
||||
|
||||
/// An owned immutable value.
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Frozen<T>(T);
|
||||
|
||||
impl<T> Frozen<T> {
|
||||
|
||||
Reference in New Issue
Block a user