aboutsummaryrefslogtreecommitdiff
path: root/src/expr/wrapper.rs
diff options
context:
space:
mode:
authorla Fleur <lafleur@boum.org>2021-11-29 10:26:28 +0000
committerla Fleur <lafleur@boum.org>2021-11-29 10:26:28 +0000
commit7054902f6388dbc58938564170d6278220903811 (patch)
tree2d583ea5c7baa3253373a9740a046af398697fc2 /src/expr/wrapper.rs
parent8a41f1de700b573afb5051abaac22f1094ae21ad (diff)
parent3c63e90be830c2b9fe26754600ce5a9ee4db25d0 (diff)
Merge branch 'docstrings' into 'master'
docstrings update See merge request rustwall/rustables!13
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()) };