Skip to content

Commit

Permalink
recovery: apply rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tmplt committed Oct 27, 2021
1 parent f43b85d commit 8677734
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/recovery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use std::io::Write;

use cargo_metadata::Artifact;
use chrono::Local;
use include_dir::{include_dir, dir::ExtractMode};
use include_dir::{dir::ExtractMode, include_dir};
use itm_decode::{ExceptionAction, TimestampedTracePackets, TracePacket};
use libloading;
use proc_macro2::{Ident, TokenStream, TokenTree};
Expand Down Expand Up @@ -449,7 +449,10 @@ impl<'a> TaskResolver<'a> {
Ok((int_assocs, ext_assocs))
}

fn resolve_int_nrs(&self, binds: &[Ident]) -> Result<BTreeMap<Ident, HwExceptionNumber>, RecoveryError> {
fn resolve_int_nrs(
&self,
binds: &[Ident],
) -> Result<BTreeMap<Ident, HwExceptionNumber>, RecoveryError> {
const ADHOC_FUNC_PREFIX: &str = "rtic_scope_func_";

// Extract adhoc source to a temporary directory and apply adhoc
Expand Down

0 comments on commit 8677734

Please sign in to comment.