remove unnecessary doc links

This commit is contained in:
ravi0li 2021-04-19 22:00:21 +02:00
parent fedc4e8314
commit 8ac18073e7
2 changed files with 3 additions and 3 deletions

View file

@ -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 {

View file

@ -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,
}