mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-13 00:04:29 +00:00
bulk code format fix (#8707)
This commit is contained in:
@@ -107,7 +107,7 @@ fn validate_monster(flexbuffer: &[u8]) {
|
||||
|
||||
// This is in a separate binary than tests because taking over the global allocator is not
|
||||
// hermetic and not thread safe.
|
||||
#[cfg(not(miri))] // slow.
|
||||
#[cfg(not(miri))] // slow.
|
||||
fn main() {
|
||||
let start_up = current_allocs();
|
||||
|
||||
@@ -138,7 +138,7 @@ fn main() {
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(not(miri))] // slow.
|
||||
#[cfg(not(miri))] // slow.
|
||||
fn no_extra_allocations() {
|
||||
main()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user