We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Steal
1 parent 25be798 commit 488b2a3Copy full SHA for 488b2a3
src/librustc/ty/steal.rs
@@ -29,6 +29,8 @@ use std::mem;
29
/// Obviously, whenever you have a query that yields a `Steal` value,
30
/// you must treat it with caution, and make sure that you know that
31
/// -- once the value is stolen -- it will never be read from again.
32
+///
33
+/// FIXME(#41710) -- what is the best way to model linear queries?
34
pub struct Steal<T> {
35
value: RefCell<Option<T>>
36
}
0 commit comments