Skip to content

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
x3ro committed Jun 13, 2022
1 parent 1fb793c commit 860c2a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion piet-coregraphics/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ impl<'a> RenderContext for CoreGraphicsContext<'a> {
fn capture_image_area(&mut self, src_rect: impl Into<Rect>) -> Result<Self::Image, Error> {
let src_rect = src_rect.into();

// When creating a CoreGraphicsContext, we a transformation matrix is applied to map
// When creating a CoreGraphicsContext, a transformation matrix is applied to map
// between piet's coordinate system and CoreGraphic's coordinate system
// (see [`CoreGraphicsContext::new_impl`] for details). Since the `src_rect` we receive
// as parameter is in piet's coordinate system, we need to first convert it to the CG one,
Expand Down
2 changes: 1 addition & 1 deletion piet/src/samples/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ mod picture_16;
type BoxErr = Box<dyn std::error::Error>;

/// The total number of samples in this module.
pub const SAMPLE_COUNT: usize = 16;
pub const SAMPLE_COUNT: usize = 17;

/// file we save an os fingerprint to
pub const GENERATED_BY: &str = "GENERATED_BY";
Expand Down

0 comments on commit 860c2a5

Please sign in to comment.