Remove counterintuitive constant functions
This commit is contained in:
parent
267e242238
commit
f81827c151
14 changed files with 52 additions and 55 deletions
|
|
@ -32,7 +32,7 @@ impl Limits {
|
|||
///
|
||||
/// [`Limits`]: struct.Limits.html
|
||||
/// [`Size`]: ../struct.Size.html
|
||||
pub const fn min(&self) -> Size {
|
||||
pub fn min(&self) -> Size {
|
||||
self.min
|
||||
}
|
||||
|
||||
|
|
@ -40,7 +40,7 @@ impl Limits {
|
|||
///
|
||||
/// [`Limits`]: struct.Limits.html
|
||||
/// [`Size`]: ../struct.Size.html
|
||||
pub const fn max(&self) -> Size {
|
||||
pub fn max(&self) -> Size {
|
||||
self.max
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue