File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ use std::mem;
2222use syntax:: { self , ast} ;
2323
2424/// Represent the result of a query.
25- /// This result can be stolen with the `take` method and returned with the `give ` method.
25+ /// This result can be stolen with the `take` method and generated with the `compute ` method.
2626pub struct Query < T > {
2727 result : RefCell < Option < Result < T > > > ,
2828}
@@ -37,7 +37,7 @@ impl<T> Query<T> {
3737 }
3838
3939 /// Takes ownership of the query result. Further attempts to take or peek the query
40- /// result will panic unless it is returned by calling the `give ` method.
40+ /// result will panic unless it is generated by calling the `compute ` method.
4141 pub fn take ( & self ) -> T {
4242 self . result
4343 . borrow_mut ( )
You can’t perform that action at this time.
0 commit comments