Skip to content

Commit

Permalink
turn off tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
jdm committed Sep 3, 2024
1 parent b05a845 commit f03c952
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ jobs:
run: |
sudo apt update
python3 ./mach bootstrap
- name: Tidy
run: python3 ./mach test-tidy --no-progress --all
#- name: Tidy
# run: python3 ./mach test-tidy --no-progress --all
- name: Build (${{ inputs.profile }})
run: |
python3 ./mach build --use-crown --locked --${{ inputs.profile }}
Expand Down
6 changes: 3 additions & 3 deletions components/script/dom/bindings/import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ pub mod module {
IDLInterface, StringificationBehavior, ToJSValConvertible, DOM_OBJECT_SLOT,
};
pub use crate::dom::bindings::error::{throw_constructor_without_new, Error, ErrorResult};
pub use crate::dom::bindings::finalize::{
/*pub use crate::dom::bindings::finalize::{
finalize_common, finalize_global, finalize_weak_referenceable,
};
pub use crate::dom::bindings::guard::{Condition, Guard};
};*/
//pub use crate::dom::bindings::guard::{Condition, Guard};
pub use crate::dom::bindings::htmlconstructor::{
pop_current_element_queue, push_new_element_queue,
};
Expand Down
4 changes: 2 additions & 2 deletions components/script/dom/bindings/root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -603,11 +603,11 @@ impl<T: DomObject + PartialEq> PartialEq<T> for MutDom<T> {

/*pub(crate) fn assert_in_script() {
debug_assert!(thread_state::get().is_script());
}
}*/

pub(crate) fn assert_in_layout() {
debug_assert!(thread_state::get().is_layout());
}*/
}

/// A holder that provides interior mutability for GC-managed values such as
/// `Dom<T>`, with nullability represented by an enclosing Option wrapper.
Expand Down
4 changes: 2 additions & 2 deletions components/script_bindings/root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -603,9 +603,9 @@ pub fn assert_in_script() {
debug_assert!(thread_state::get().is_script());
}

pub(crate) fn assert_in_layout() {
/*pub(crate) fn assert_in_layout() {
debug_assert!(thread_state::get().is_layout());
}
}*/

/*/// A holder that provides interior mutability for GC-managed values such as
/// `Dom<T>`, with nullability represented by an enclosing Option wrapper.
Expand Down

0 comments on commit f03c952

Please sign in to comment.