mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
add FIXME to Steal
This commit is contained in:
@@ -29,6 +29,8 @@
|
||||
/// Obviously, whenever you have a query that yields a `Steal` value,
|
||||
/// 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.
|
||||
///
|
||||
/// FIXME(#41710) -- what is the best way to model linear queries?
|
||||
pub struct Steal<T> {
|
||||
value: RefCell<Option<T>>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user