tor-proto datastream: Fix typo in Debug impl

As per
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/353#note_2781632
This commit is contained in:
Ian Jackson 2022-02-25 10:55:50 +00:00
parent 3e37d7e105
commit 3903900461
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ struct DataWriterImpl {
impl Debug for DataWriterImpl {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.debug_struct("DataWriterImpl")
.field("sr", &self.s)
.field("s", &self.s)
.field("n_pending", &self.n_pending)
.finish_non_exhaustive()
}