Skip to content

Commit 4b4da72

Browse files
committed
Rename probe-plotter-host -> probe-plotter-tools
1 parent 6b55599 commit 4b4da72

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ So for example plotting the example in examples/simple on a Nucleo-G474RE
3838
cd examples/simple
3939
cargo run # Let it flash and then cancel to let the target continue running in the background while giving up access to the probe
4040
41-
cd ../probe-plotter-host
41+
cd ../probe-plotter-tools
4242
cargo run ../examples/simple/target/thumbv7em-none-eabihf/debug/simple stm32g474retx
4343
# Rerun will open with a graph showing all created metrics objects
4444
```
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "probe-plotter"
2+
name = "probe-plotter-tools"
33
version = "0.1.0"
44
edition = "2024"
55
publish = ["gitea"]
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use core::fmt;
2-
use std::{fs::File, io::Read, time::Duration};
2+
use std::{io::Read, time::Duration};
33

44
use object::{Object, ObjectSymbol};
55
use probe_rs::{Core, MemoryInterface};
@@ -143,10 +143,10 @@ struct Symbol {
143143
}
144144

145145
#[derive(Debug)]
146-
struct InvalidSymbolError(serde_json::Error);
146+
struct InvalidSymbolError;
147147

148148
impl Symbol {
149149
pub fn demangle(raw: &str) -> Result<Self, InvalidSymbolError> {
150-
serde_json::from_str(raw).map_err(|e| InvalidSymbolError(e))
150+
serde_json::from_str(raw).map_err(|_| InvalidSymbolError)
151151
}
152152
}

0 commit comments

Comments
 (0)