Update name of function parameter

This commit is contained in:
Hanno Braun 2024-11-06 21:14:49 +01:00
parent fa1bd45280
commit 37810814a7

View File

@ -81,13 +81,16 @@ pub struct OperationResult<'r, T> {
} }
impl<'r, T> OperationResult<'r, T> { impl<'r, T> OperationResult<'r, T> {
pub fn vertex(self, point: impl Into<Vertex>) -> OperationResult<'r, T::Out> pub fn vertex(
self,
vertex: impl Into<Vertex>,
) -> OperationResult<'r, T::Out>
where where
T: CombinRight<Vertex>, T: CombinRight<Vertex>,
{ {
let OperationResult { let OperationResult {
results: (vertex,), .. results: (vertex,), ..
} = self.operations.vertex(point); } = self.operations.vertex(vertex);
OperationResult { OperationResult {
operations: self.operations, operations: self.operations,