aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/field/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/field/mod.rs b/src/field/mod.rs
index 7168e10..e03990e 100644
--- a/src/field/mod.rs
+++ b/src/field/mod.rs
@@ -33,8 +33,7 @@ pub struct Field {
/// Parse the field data into the correct `Value` type based on the `id`.
///
/// # Errors
-/// If an Int can't be parsed, it'll return an InvalidInteger error.
-#[must_use]
+/// If an Int can't be parsed, it'll return an `InvalidInteger` error.
pub fn parse_field_value(id: ID, data: &[u8]) -> Result<Value, Error> {
use Value::{Binary, Integer, Text};
use ID::{