Skip to content

Commit

Permalink
Change type to Bounds::TryFrom<&[f64]>
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed May 29, 2022
1 parent be008e5 commit 308641a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bounds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ pub struct Bounds {
}

impl Bounds {
/// Create a new Bounds object.
pub fn new(left: f64, bottom: f64, right: f64, top: f64) -> Self {
Self {
left,
Expand Down

0 comments on commit 308641a

Please sign in to comment.