Skip to content

Commit

Permalink
switched String to AsciiString
Browse files Browse the repository at this point in the history
  • Loading branch information
salsabiljb committed Sep 9, 2024
1 parent eb8ec91 commit 127664b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/messages/addressed_safety_related.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use crate::errors::Result;
use nom::bits::{bits, complete::take as take_bits};
use nom::combinator::map;
use nom::IResult;
use std::string::String;

#[derive(Debug, PartialEq)]
pub struct AddressedSafetyRelatedMessage {
Expand All @@ -15,7 +14,7 @@ pub struct AddressedSafetyRelatedMessage {
pub seqno: u8,
pub dest_mmsi: u32,
pub retransmit: bool,
pub text: String,
pub text: AsciiString,
}

impl<'a> AisMessageType<'a> for AddressedSafetyRelatedMessage {
Expand Down

0 comments on commit 127664b

Please sign in to comment.