diff options
author | Daniel Schadt <kingdread@gmx.de> | 2019-12-12 01:25:28 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2019-12-12 01:25:28 +0100 |
commit | a6afa81d1d9f2dd7d10fe7c0555ae8a8a6d84867 (patch) | |
tree | f82d523b2c3381d58af1283be6a01321fb4b0fa2 /src/bt.rs | |
parent | 5350b4ece04082bf8a0a127c230669c4de9b7cc4 (diff) | |
download | kondou-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.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |