Skip to content

Commit

Permalink
Merge pull request #490 from jaytaph/gosub-456
Browse files Browse the repository at this point in the history
Disabled docs workflow
  • Loading branch information
jaytaph authored Jun 19, 2024
2 parents e9c0010 + dc51251 commit c6296e4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
File renamed without changes.
1 change: 0 additions & 1 deletion crates/gosub_css3/src/tokenizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use crate::unicode::{get_unicode_char, UnicodeChar};
use gosub_shared::byte_stream::Character::Ch;
use gosub_shared::byte_stream::{ByteStream, Character, Stream};
use std::fmt;
use std::usize;

pub type Number = f32;

Expand Down
2 changes: 1 addition & 1 deletion crates/gosub_v8/src/v8/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ pub fn ctx_from<'a>(
let ctx = scope.get_current_context();

//SAFETY: This can only shorten the lifetime of the scope, which is fine. (we borrow it for 'a and it is '2, which will always be longer than 'a)
let scope = unsafe { std::mem::transmute(scope) };
let scope = unsafe { std::mem::transmute::<&mut HandleScope<'_>, &mut HandleScope<'_>>(scope) };

let scope = HandleScopeType::WithContextRef(scope);

Expand Down

0 comments on commit c6296e4

Please sign in to comment.