X-Git-Url: https://code.octet-stream.net/hashgood/blobdiff_plain/a81302dca6183729495f32f396e4f7a793b89e96..36bfd583f05c5b1b45fda6be461278c1802db8fc:/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; } }