From 4ca524387a7a2e9f19bd44f17fbe981326de5e85 Mon Sep 17 00:00:00 2001 From: SpecificProtagonist Date: Sun, 23 Feb 2025 18:25:26 +0100 Subject: [PATCH] Doc comment formatting Use inline code segment --- src/completion.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/completion.rs b/src/completion.rs index be51181b3..ab8f9d0bc 100644 --- a/src/completion.rs +++ b/src/completion.rs @@ -57,7 +57,7 @@ pub trait Completer { /// returns the start position and the completion candidates for the /// partial word to be completed. /// - /// ("ls /usr/loc", 11) => Ok((3, vec!["/usr/local/"])) + /// `("ls /usr/loc", 11)` => `Ok((3, vec!["/usr/local/"]))` fn complete( &self, // FIXME should be `&mut self` line: &str,