[#353] Format deprecated notices properly

They should be in a separate paragraph, otherwise they are not
recognized.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2025-04-05 08:03:56 +03:00 committed by Evgenii Stratonikov
parent f158a6b2e1
commit 661adf17bb
2 changed files with 4 additions and 0 deletions

View file

@ -439,6 +439,7 @@ func (ni NodeInfo) Addresses() iter.Seq[string] {
// Breaks iteration on f's true return.
//
// Handler should not be nil.
//
// Deprecated: use [NodeInfo.Addresses] instead.
func (ni *NodeInfo) IterateAddresses(f func(string) bool) {
if ni != nil {