Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read/write records #1117

Merged
merged 16 commits into from
Apr 28, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix
  • Loading branch information
raviqqe committed Apr 28, 2024
commit 52c5b6e5a0176684b68e560c4b2a19cbee237241
5 changes: 3 additions & 2 deletions profiler/src/read.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::{ProcedureRecord, Record};
use crate::Record;
use core::str::FromStr;
use std::io::BufRead;

Expand All @@ -11,6 +11,7 @@
#[cfg(test)]
mod tests {
use super::*;
use crate::ProcedureRecord;
use indoc::indoc;
use std::io::BufReader;

Expand All @@ -20,14 +21,14 @@
read_records::<ProcedureRecord>(BufReader::new(
indoc!(
"
call\tbaz\t0

Check warning on line 24 in profiler/src/read.rs

View workflow job for this annotation

GitHub Actions / spell_check

Unknown word (tbaz)
return\tfoo;bar\t42
return_call\t;;\t2045
"
)
.as_bytes()
))
.collect(),
.collect::<Vec<_>>(),
vec![]
);
}
Expand Down
Loading