Merge branch 'fix-weird-comment' into 'main'

doc: fix malformatted comment in SliceWriterError

See merge request tpo/core/arti!1503
This commit is contained in:
Ian Jackson 2023-08-16 12:07:44 +00:00
commit 2b85def3a6
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ use tor_bytes::Writer;
#[non_exhaustive] #[non_exhaustive]
#[derive(Clone, Debug, Error)] #[derive(Clone, Debug, Error)]
pub(crate) enum SliceWriterError { pub(crate) enum SliceWriterError {
/// We've /// We've tried to write more than would fit into a fixed-size slice
#[error("Tried to write more than would fit into a fixed-size slice.")] #[error("Tried to write more than would fit into a fixed-size slice.")]
Truncated, Truncated,
} }