diff options
Diffstat (limited to 'src/geom/path.rs')
| -rw-r--r-- | src/geom/path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geom/path.rs b/src/geom/path.rs index 39e75312..20519cb3 100644 --- a/src/geom/path.rs +++ b/src/geom/path.rs @@ -16,7 +16,7 @@ pub enum PathElement { impl Path { /// Create an empty path. - pub fn new() -> Self { + pub const fn new() -> Self { Self(vec![]) } |
