From 08dfd2943b6ff6e500fe909abec002dc93a5db16 Mon Sep 17 00:00:00 2001 From: Fabian Geiselhart Date: Thu, 23 Apr 2020 12:26:49 +0200 Subject: [PATCH] ui: fix wrong method name in documentation Signed-off-by: Fabian Geiselhart --- unit/unit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unit/unit.go b/unit/unit.go index f575e320..05220ae1 100644 --- a/unit/unit.go +++ b/unit/unit.go @@ -55,7 +55,7 @@ func Px(v float32) Value { return Value{V: v, U: UnitPx} } -// Px returns the Value for v device independent +// Dp returns the Value for v device independent // pixels. func Dp(v float32) Value { return Value{V: v, U: UnitDp}