summaryrefslogtreecommitdiff
path: root/lib/textui/tunable.go
blob: 7e5f3114cc4397266a82a9f91d9958a868a708b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (C) 2022  Luke Shumaker <lukeshu@lukeshu.com>
//
// SPDX-License-Identifier: GPL-2.0-or-later

package textui

// Tunable annotates a value as something that might want to be tuned
// as the program gets optimized.
//
// TODO(lukeshu): Have Tunable be runtime-configurable.
func Tunable[T any](x T) T {
	return x
}