diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-02-09 23:21:12 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-02-09 23:21:12 +0100 |
| commit | 8cc69f354b9ed1b57eaceecf2d971c079d6698da (patch) | |
| tree | 940b5931426122c8c1db07b26ba4531c2b0ccd91 /src | |
| parent | f2bf6c9924752e5e1f747cecd17f3929186e7d42 (diff) | |
Remove double must_use
Diffstat (limited to 'src')
| -rw-r--r-- | src/field/mod.rs | 3 |
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::{ |