Skip to content

Commit 308641a

Browse files
committed
Change type to Bounds::TryFrom<&[f64]>
1 parent be008e5 commit 308641a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bounds.rs

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ pub struct Bounds {
1212
}
1313

1414
impl Bounds {
15+
/// Create a new Bounds object.
1516
pub fn new(left: f64, bottom: f64, right: f64, top: f64) -> Self {
1617
Self {
1718
left,

0 commit comments

Comments
 (0)