Skip to content

Commit

Permalink
Use 'bytes' intead of 'bit_vec' in protobuf
Browse files Browse the repository at this point in the history
  • Loading branch information
kellerkindt committed Sep 6, 2021
1 parent 93214ac commit 6af109b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asn1rs-model/src/model/protobuf/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ impl ToString for ProtobufType {
ProtobufType::SInt64 => "sint64",
ProtobufType::String => "string",
ProtobufType::Bytes => "bytes",
ProtobufType::BitsReprByBytesAndBitsLen => "bit_vec",
ProtobufType::BitsReprByBytesAndBitsLen => "bytes",
ProtobufType::OneOf(_) => "oneof",
ProtobufType::Complex(name) => return name.clone(),
ProtobufType::Repeated(name) => return format!("repeated {}", name.to_string()),
Expand Down

0 comments on commit 6af109b

Please sign in to comment.