Skip to content

Commit

Permalink
Merge pull request #15 from RReverser/relax-read
Browse files Browse the repository at this point in the history
Relax bound on DataBufRead for Cursor
  • Loading branch information
bmatthieu3 authored Jan 16, 2025
2 parents d40bb9a + e95c831 commit 69d410b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/hdu/data/asciitable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use crate::hdu::header::extension::Xtension;

impl<'a, R> DataBufRead<'a, AsciiTable> for Cursor<R>
where
R: AsRef<[u8]> + Debug + Read + 'a,
R: AsRef<[u8]> + Debug + 'a,
{
type Data = Data<'a>;

Expand Down
2 changes: 1 addition & 1 deletion src/hdu/data/bintable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use crate::hdu::header::extension::Xtension;

impl<'a, R> DataBufRead<'a, BinTable> for Cursor<R>
where
R: AsRef<[u8]> + Debug + Read + 'a,
R: AsRef<[u8]> + Debug + 'a,
{
type Data = Data<'a>;

Expand Down
2 changes: 1 addition & 1 deletion src/hdu/data/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use crate::hdu::DataBufRead;

impl<'a, R> DataBufRead<'a, Image> for Cursor<R>
where
R: AsRef<[u8]> + Debug + Read + 'a,
R: AsRef<[u8]> + Debug + 'a,
{
type Data = Data<'a>;

Expand Down

0 comments on commit 69d410b

Please sign in to comment.