Remove counterintuitive constant functions

This commit is contained in:
Héctor Ramón Jiménez 2020-03-06 03:30:48 +01:00
parent 267e242238
commit f81827c151
14 changed files with 52 additions and 55 deletions

View file

@ -35,7 +35,7 @@ struct Layer<'a> {
}
impl<'a> Layer<'a> {
pub const fn new(bounds: Rectangle<u32>, offset: Vector<u32>) -> Self {
pub fn new(bounds: Rectangle<u32>, offset: Vector<u32>) -> Self {
Self {
bounds,
offset,