Skip to content

Commit

Permalink
add FIXME to Steal
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed May 2, 2017
1 parent 25be798 commit 488b2a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/librustc/ty/steal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ use std::mem;
/// 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>>
}
Expand Down

0 comments on commit 488b2a3

Please sign in to comment.