File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ members = [
2020[workspace .package ]
2121edition = " 2021"
2222version = " 0.17.0"
23- rust-version = " 1.66 "
23+ rust-version = " 1.71 "
2424authors = [" boa-dev" ]
2525repository = " https://github.com/boa-dev/boa"
2626license = " Unlicense OR MIT"
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ impl CodeBlock {
264264 /// # Safety
265265 ///
266266 /// Does not check if read happens out-of-bounds.
267- pub ( crate ) unsafe fn read_unchecked < T > ( & self , offset : usize ) -> T
267+ pub ( crate ) const unsafe fn read_unchecked < T > ( & self , offset : usize ) -> T
268268 where
269269 T : Readable ,
270270 {
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ use thin_vec::ThinVec;
9696/// # Safety
9797///
9898/// Does not check if read happens out-of-bounds.
99- pub ( crate ) unsafe fn read_unchecked < T > ( bytes : & [ u8 ] , offset : usize ) -> T
99+ pub ( crate ) const unsafe fn read_unchecked < T > ( bytes : & [ u8 ] , offset : usize ) -> T
100100where
101101 T : Readable ,
102102{
You can’t perform that action at this time.
0 commit comments