Skip to content

Commit 2617d62

Browse files
committed
style: remove implicit Sized bound based on feedback
1 parent f662f9b commit 2617d62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fr32/src/padding.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ pub fn write_unpadded<W>(
570570
len: usize,
571571
) -> io::Result<usize>
572572
where
573-
W: Write + Sized,
573+
W: Write + ?Sized,
574574
{
575575
// Check that there's actually `len` raw data bytes encoded inside
576576
// `source` starting at `offset`.
@@ -638,7 +638,7 @@ fn write_unpadded_aux<W>(
638638
max_write_size: usize,
639639
) -> io::Result<usize>
640640
where
641-
W: Write + Sized,
641+
W: Write + ?Sized,
642642
{
643643
// Position of the reader in the padded bit stream layout, deduced from
644644
// the position of the writer (`write_pos`) in the raw data layout.

0 commit comments

Comments
 (0)