Add some intra-doc links to compiler docs

This commit is contained in:
Joshua Nelson
2020-12-22 09:54:23 -05:00
parent 50a90975c0
commit 9cd992f394
5 changed files with 13 additions and 5 deletions

View File

@@ -23,7 +23,11 @@ use std::cell::{Ref, RefCell, RefMut};
use std::rc::Rc;
/// Represent the result of a query.
/// This result can be stolen with the `take` method and generated with the `compute` method.
///
/// This result can be stolen with the [`take`] method and generated with the [`compute`] method.
///
/// [`take`]: Self::take
/// [`compute`]: Self::compute
pub struct Query<T> {
result: RefCell<Option<Result<T>>>,
}