diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-11-22 15:50:35 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-11-22 15:50:35 +0100 |
| commit | 02f114d072ffba72c5b18953f2959eac4dee1612 (patch) | |
| tree | f3e62020a572f22d98d853649237472c2fd1d407 /src/geom/path.rs | |
| parent | 0a974d86ba921af781a6c9d75961b92351a5f28e (diff) | |
Remove decorum
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![]) } |
