aboutsummaryrefslogtreecommitdiff
path: root/src/bt.rs
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2019-12-12 01:25:28 +0100
committerDaniel Schadt <kingdread@gmx.de>2019-12-12 01:25:28 +0100
commita6afa81d1d9f2dd7d10fe7c0555ae8a8a6d84867 (patch)
treef82d523b2c3381d58af1283be6a01321fb4b0fa2 /src/bt.rs
parent5350b4ece04082bf8a0a127c230669c4de9b7cc4 (diff)
downloadkondou-a6afa81d1d9f2dd7d10fe7c0555ae8a8a6d84867.tar.gz
kondou-a6afa81d1d9f2dd7d10fe7c0555ae8a8a6d84867.tar.bz2
kondou-a6afa81d1d9f2dd7d10fe7c0555ae8a8a6d84867.zip
use helper traits for better code
Diffstat (limited to 'src/bt.rs')
-rw-r--r--src/bt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bt.rs b/src/bt.rs
index aac8484..21078ff 100644
--- a/src/bt.rs
+++ b/src/bt.rs
@@ -112,7 +112,7 @@ pub enum Legend {
}
impl Legend {
- pub fn get_api_id(self) -> Option<String> {
+ pub fn api_id(self) -> Option<String> {
Some(
match self {
Legend::None => return None,