summaryrefslogtreecommitdiff
path: root/src/library/base.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-03-22 10:48:29 +0100
committerLaurenz <laurmaedje@gmail.com>2021-03-22 10:48:29 +0100
commit39f55481ed7bc5ebc6d310924e90e7b6c0760d3b (patch)
treec5733ae87270e3050a0cec02a936eb843684958a /src/library/base.rs
parent83fa2c075eb8e41bd1a29157eb02f814f7f0ae96 (diff)
More consistent documentation 📝
Diffstat (limited to 'src/library/base.rs')
-rw-r--r--src/library/base.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library/base.rs b/src/library/base.rs
index fdabdc47..48925122 100644
--- a/src/library/base.rs
+++ b/src/library/base.rs
@@ -3,7 +3,7 @@ use crate::pretty::pretty;
use super::*;
-/// `type`: Get the name of a value's type.
+/// `type`: The name of a value's type.
///
/// # Positional parameters
/// - Any value.
@@ -17,7 +17,7 @@ pub fn type_(ctx: &mut EvalContext, args: &mut FuncArgs) -> Value {
}
}
-/// `repr`: Get the string representation of a value.
+/// `repr`: The string representation of a value.
///
/// # Positional parameters
/// - Any value.
@@ -31,7 +31,7 @@ pub fn repr(ctx: &mut EvalContext, args: &mut FuncArgs) -> Value {
}
}
-/// `rgb`: Construct an RGB(A) color.
+/// `rgb`: Create an RGB(A) color.
///
/// # Positional parameters
/// - Red component: of type `float`, between 0.0 and 1.0.