From 0760fb2da3dc15e1d44bfac72d6393de837cf0e2 Mon Sep 17 00:00:00 2001 From: Mikolaj Wielgus Date: Mon, 2 Dec 2024 01:17:43 +0100 Subject: [PATCH] docs(drawing,router): rephrase docstrings some more --- src/drawing/head.rs | 20 +++++++++++++------- src/router/navcord.rs | 10 +++++++--- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/src/drawing/head.rs b/src/drawing/head.rs index 88a9e9c..2cf009a 100644 --- a/src/drawing/head.rs +++ b/src/drawing/head.rs @@ -16,8 +16,8 @@ pub trait GetFace { } /// The head is the working part of the running end of the currently routed -/// band. Both bare and cane heads have a face, which is the fixed dot that -/// terminates the running end. +/// band. Both bare and cane heads have a face, which is the dot that terminates +/// the running end. #[enum_dispatch(GetFace)] #[derive(Debug, Clone, Copy)] pub enum Head { @@ -33,8 +33,9 @@ impl<'a, CW: Copy, R: AccessRules> MakeRef<'a, HeadRef<'a, CW, R>, Drawing, /// Head of the routed band. pub head: Head, @@ -27,7 +31,7 @@ pub struct NavcordStepper { } impl NavcordStepper { - /// Create new Navigation Cord instance + /// Creates a new navcord. pub fn new( source: FixedDotIndex, source_navvertex: NavvertexIndex,