Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb authored and AzHicham committed Mar 25, 2024
1 parent 4e01528 commit 28fc067
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use thiserror::Error;
/// Enum defining all possible error when manipulating OpenSlide struct
#[derive(Error, Debug)]
pub enum PhilipsSlideError {
/// CxxSring to &str conversion error
/// CxxString to &str conversion error
#[error(transparent)]
StringConversionError(#[from] Utf8Error),
/// PhilipsSlide lib error
Expand Down
2 changes: 1 addition & 1 deletion src/facade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ impl<'a> Facade<'a> {
.filter_map(|cxx_str| cxx_str.to_str().ok()))
}

/// Returns the derivation desription
/// Returns the derivation description
/// Example: "PHILIPS UFS V1.6.6063 | Quality=1 | DWT=1 | Compressor=16"
pub fn derivation_description(&self) -> Result<&str> {
Ok(self.inner.derivationDescription()?.to_str()?)
Expand Down

1 comment on commit 28fc067

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

philips-isyntax-rs Benchmark

Benchmark suite Current: 28fc067 Previous: 4e01528 Ratio
philips_i2syntax_read_region_256_lvl_0 1391460 ns/iter (± 93997) 1359149 ns/iter (± 66285) 1.02
philips_i2syntax_read_region_256_lvl_1 1173960 ns/iter (± 59004) 1142324 ns/iter (± 42564) 1.03
philips_i2syntax_read_region_512_lvl_0 1571369 ns/iter (± 234178) 1691192 ns/iter (± 106680) 0.93
philips_i2syntax_read_region_512_lvl_1 7625636 ns/iter (± 281586) 7512209 ns/iter (± 335734) 1.02
philips_read_region_256_lvl_0 515793 ns/iter (± 56880) 523785 ns/iter (± 43825) 0.98
philips_read_region_256_lvl_1 1264162 ns/iter (± 58209) 1264434 ns/iter (± 56653) 1.00
philips_read_region_512_lvl_0 3631597 ns/iter (± 161712) 3632566 ns/iter (± 346576) 1.00
philips_read_region_512_lvl_1 3177905 ns/iter (± 185121) 2792887 ns/iter (± 403523) 1.14

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.