From 795a387d87adfb88aee75b46abd8793c59a3b965 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Tue, 12 Mar 2024 11:13:12 -0500 Subject: [PATCH] docs: Describe fold --- src/snippet.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/snippet.rs b/src/snippet.rs index 9ce1031..6ba2d2d 100644 --- a/src/snippet.rs +++ b/src/snippet.rs @@ -131,6 +131,7 @@ impl<'a> Snippet<'a> { self } + /// Hide lines without [`Annotation`]s pub fn fold(mut self, fold: bool) -> Self { self.fold = fold; self