summaryrefslogtreecommitdiff
path: root/src/eval/value.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-10-12 18:01:22 +0200
committerLaurenz <laurmaedje@gmail.com>2020-10-12 18:01:22 +0200
commit1a70cb6a330990dc0ab373905d12458ef87afbad (patch)
tree5d82f7124734e146c2d00ce3661294ebe9d91fb4 /src/eval/value.rs
parent5243878d810d4817c81acc9ae346d46757fcf602 (diff)
Naming and grammar ✔
Diffstat (limited to 'src/eval/value.rs')
-rw-r--r--src/eval/value.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/eval/value.rs b/src/eval/value.rs
index 56dadfc3..c6850f43 100644
--- a/src/eval/value.rs
+++ b/src/eval/value.rs
@@ -125,14 +125,14 @@ impl Debug for Value {
/// ```
pub type ValueDict = Dict<SpannedEntry<Value>>;
-/// An wrapper around a reference-counted executable function value.
+/// An wrapper around a reference-counted function trait object.
///
/// The dynamic function object is wrapped in an `Rc` to keep [`Value`]
-/// clonable.
+/// cloneable.
///
/// _Note_: This is needed because the compiler can't `derive(PartialEq)` for
-/// [`Value`] when directly putting the boxed function in there, see the
-/// [Rust Issue].
+/// [`Value`] when directly putting the `Rc` in there, see the [Rust
+/// Issue].
///
/// [`Value`]: enum.Value.html
/// [Rust Issue]: https://github.com/rust-lang/rust/issues/31740