Skip to content

Commit

Permalink
style: remove implicit Sized bound based on feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptonemo committed Jan 10, 2025
1 parent f662f9b commit 2617d62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fr32/src/padding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ pub fn write_unpadded<W>(
len: usize,
) -> io::Result<usize>
where
W: Write + Sized,
W: Write + ?Sized,
{
// Check that there's actually `len` raw data bytes encoded inside
// `source` starting at `offset`.
Expand Down Expand Up @@ -638,7 +638,7 @@ fn write_unpadded_aux<W>(
max_write_size: usize,
) -> io::Result<usize>
where
W: Write + Sized,
W: Write + ?Sized,
{
// Position of the reader in the padded bit stream layout, deduced from
// the position of the writer (`write_pos`) in the raw data layout.
Expand Down

0 comments on commit 2617d62

Please sign in to comment.