Merge pull request #2297 from hannobraun/geometry

Add missing word in doc comment
This commit is contained in:
Hanno Braun 2024-03-26 12:10:02 +01:00 committed by GitHub
commit 7f3edb02c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -91,7 +91,7 @@ impl Geometry {
///
/// ## Panics
///
/// Panics, if the geometry of surface is not defined.
/// Panics, if the geometry of the surface is not defined.
pub fn of_surface(&self, surface: &Handle<Surface>) -> SurfaceGeometry {
self.surface
.get(surface)