X-Git-Url: https://code.octet-stream.net/hashgood/blobdiff_plain/a81302dca6183729495f32f396e4f7a793b89e96..18630e80189942b821fbe5502572acc21bb0543e:/src/main.rs diff --git a/src/main.rs b/src/main.rs index a82c40a..f0bf09c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -39,10 +39,12 @@ pub struct Opt { impl Opt { fn get_paste(&self) -> bool { - #[cfg(feature = "paste")] { + #[cfg(feature = "paste")] + { return self.paste; } - #[cfg(not(feature = "paste"))] { + #[cfg(not(feature = "paste"))] + { return false; } }