Skip to content

Commit

Permalink
Fix doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesray1 authored and stepancheg committed Jan 9, 2019
1 parent 74f2eb3 commit 9cc7cf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protobuf/src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ pub trait Message: fmt::Debug + Clear + Send + Sync + ProtobufValue {
}

/// Write the message to bytes vec.

/// > **Note**: You can use parse_from_bytes to do the reverse.
///
/// > **Note**: You can use `parse_from_bytes` to do the reverse.
fn write_to_bytes(&self) -> ProtobufResult<Vec<u8>> {
self.check_initialized()?;

Expand Down

0 comments on commit 9cc7cf5

Please sign in to comment.