remove unnecessary doc links
This commit is contained in:
parent
fedc4e8314
commit
8ac18073e7
2 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
use super::val;
|
||||
use super::val::{Val, TypeError};
|
||||
|
||||
/// An `Expr` is any construct that can be resolved to a [`Val`](super::val::Val).
|
||||
/// An `Expr` is any construct that can be resolved to a [`Val`].
|
||||
/// It is always pure, meaning there is no internal state and it will always evaluate to
|
||||
/// the same result no matter how often it is called.
|
||||
pub trait Expr {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
use std::fmt;
|
||||
|
||||
/// Any primitive data type a [`Val`](Val) can hold.
|
||||
/// Any primitive data type a [`Val`] can hold.
|
||||
pub enum Type {
|
||||
Bool,
|
||||
Int,
|
||||
|
@ -28,7 +28,7 @@ pub trait Val {
|
|||
}
|
||||
}
|
||||
|
||||
/// The actual data structure behind [`Val`](Val)
|
||||
/// The actual data structure behind [`Val`].
|
||||
struct Data<T: Clone> {
|
||||
data: T,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue