From fed69e96a96485d1eda68c82f5c6085b0e4feae2 Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Mon, 13 Jul 2020 20:55:29 -0400 Subject: [PATCH] Split comment over multiple lines Due to https://github.com/rust-lang/rustfmt/issues/4325, leaving this as one line causes rustfmt to add extra indentation to the surrounding code. --- sdk/src/entrypoint_native.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sdk/src/entrypoint_native.rs b/sdk/src/entrypoint_native.rs index f60e11344a..c0a100aefc 100644 --- a/sdk/src/entrypoint_native.rs +++ b/sdk/src/entrypoint_native.rs @@ -58,8 +58,9 @@ macro_rules! declare_name { // `declare_name(foo)` // // See the `respan!` macro for more details. - // This should use `crate::respan!` once https://github.com/rust-lang/rust/pull/72121 - // is merged: see https://github.com/solana-labs/solana/issues/10933. + // This should use `crate::respan!` once + // https://github.com/rust-lang/rust/pull/72121 is merged: + // see https://github.com/solana-labs/solana/issues/10933. // For now, we need to use `::solana_sdk` // // `respan!` respans the path `$crate::id`, which we then call (hence the extra