aboutsummaryrefslogtreecommitdiff
path: root/src/expr/wrapper.rs
diff options
context:
space:
mode:
authorlafleur <lafleur@boum.org>2021-11-28 16:42:27 +0100
committerlafleur <lafleur@boum.org>2021-11-28 16:42:27 +0100
commit100e365bc653089d54319355a8dea99b28a77a15 (patch)
tree552b5c9dfc79e1030be31fff514f67211839c31c /src/expr/wrapper.rs
parent8a41f1de700b573afb5051abaac22f1094ae21ad (diff)
docstrings update + typography
Diffstat (limited to 'src/expr/wrapper.rs')
-rw-r--r--src/expr/wrapper.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/wrapper.rs b/src/expr/wrapper.rs
index 1bcc520..00c555c 100644
--- a/src/expr/wrapper.rs
+++ b/src/expr/wrapper.rs
@@ -47,7 +47,7 @@ impl ExpressionWrapper {
}
}
- /// Attempt to decode the expression as the type T.
+ /// Attempts to decode the expression as the type T.
pub fn decode_expr<T: Expression>(&self) -> Result<T, DeserializationError> {
if let Some(kind) = self.get_kind() {
let raw_name = unsafe { CStr::from_ptr(T::get_raw_name()) };