Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Champion committed Aug 1, 2024
1 parent ff726ec commit 596e5eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/src/component/compute_runtime.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use super::fastly::api::{types, compute_runtime};
use super::fastly::api::{compute_runtime, types};
use crate::session::Session;
use std::sync::atomic::Ordering;

Expand Down
6 changes: 3 additions & 3 deletions test-fixtures/src/bin/vcpu_time_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use fastly::{Error, Request, Response};
use fastly_shared::FastlyStatus;
use hex_literal::hex;
use sha2::{Sha512, Digest};
use std::time::{Duration, Instant};
use std::time::Instant;

#[link(wasm_import_module = "fastly_compute_runtime")]
extern "C" {
Expand Down Expand Up @@ -62,8 +62,8 @@ d41a57a4e18ffd2a07a452cd8175b8f5a4868dd
fn main() -> Result<(), Error> {
let client_req = Request::from_client();

test_that_waiting_for_servers_increases_only_wall_time(client_req);
test_that_computing_factorial_increases_vcpu_time();
test_that_waiting_for_servers_increases_only_wall_time(client_req)?;
test_that_computing_factorial_increases_vcpu_time()?;

Response::from_status(200).send_to_client();
Ok(())
Expand Down

0 comments on commit 596e5eb

Please sign in to comment.