X-Git-Url: https://code.octet-stream.net/hashgood/blobdiff_plain/812e65c4bd80677d0f0a8e6dc72fda4b9e64709e..0252a4d67a68e71c811a6f7ec8057b616e65bca7:/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; } }