add FIXME to Steal
This commit is contained in:
parent
25be7983e8
commit
488b2a3e7b
@ -29,6 +29,8 @@ use std::mem;
|
|||||||
/// Obviously, whenever you have a query that yields a `Steal` value,
|
/// Obviously, whenever you have a query that yields a `Steal` value,
|
||||||
/// you must treat it with caution, and make sure that you know that
|
/// you must treat it with caution, and make sure that you know that
|
||||||
/// -- once the value is stolen -- it will never be read from again.
|
/// -- once the value is stolen -- it will never be read from again.
|
||||||
|
///
|
||||||
|
/// FIXME(#41710) -- what is the best way to model linear queries?
|
||||||
pub struct Steal<T> {
|
pub struct Steal<T> {
|
||||||
value: RefCell<Option<T>>
|
value: RefCell<Option<T>>
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user