From a19087eb89fa2f547b5e007da3e3f048ec56594b Mon Sep 17 00:00:00 2001 From: Guanqun Lu Date: Mon, 6 Aug 2018 19:27:14 +0800 Subject: [PATCH] remove the extra ? in the license header (#500) --- substrate/polkadot/cli/src/chain_spec.rs | 2 +- substrate/substrate/network-libp2p/src/custom_proto.rs | 2 +- substrate/substrate/network-libp2p/src/lib.rs | 2 +- substrate/substrate/network-libp2p/src/network_state.rs | 2 +- substrate/substrate/network-libp2p/src/service.rs | 2 +- substrate/substrate/network-libp2p/src/timeouts.rs | 2 +- substrate/substrate/network-libp2p/src/transport.rs | 2 +- substrate/substrate/network/src/blocks.rs | 2 +- substrate/substrate/network/src/config.rs | 2 +- substrate/substrate/network/src/consensus_gossip.rs | 2 +- substrate/substrate/network/src/error.rs | 2 +- substrate/substrate/network/src/import_queue.rs | 2 +- substrate/substrate/network/src/io.rs | 2 +- substrate/substrate/network/src/lib.rs | 2 +- substrate/substrate/network/src/on_demand.rs | 2 +- substrate/substrate/network/src/protocol.rs | 2 +- substrate/substrate/network/src/sync.rs | 2 +- substrate/substrate/service/src/config.rs | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/substrate/polkadot/cli/src/chain_spec.rs b/substrate/polkadot/cli/src/chain_spec.rs index 7298a4cdff..14593c73c3 100644 --- a/substrate/polkadot/cli/src/chain_spec.rs +++ b/substrate/polkadot/cli/src/chain_spec.rs @@ -12,7 +12,7 @@ // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see .? +// along with Polkadot. If not, see . //! Predefined chains. diff --git a/substrate/substrate/network-libp2p/src/custom_proto.rs b/substrate/substrate/network-libp2p/src/custom_proto.rs index 77d2fdec3e..574bb62472 100644 --- a/substrate/substrate/network-libp2p/src/custom_proto.rs +++ b/substrate/substrate/network-libp2p/src/custom_proto.rs @@ -12,7 +12,7 @@ // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Substrate. If not, see .? +// along with Substrate. If not, see . use bytes::{Bytes, BytesMut}; use ProtocolId; diff --git a/substrate/substrate/network-libp2p/src/lib.rs b/substrate/substrate/network-libp2p/src/lib.rs index cd00cc4b63..9327b436d3 100644 --- a/substrate/substrate/network-libp2p/src/lib.rs +++ b/substrate/substrate/network-libp2p/src/lib.rs @@ -12,7 +12,7 @@ // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Substrate. If not, see .? +// along with Substrate. If not, see . #![recursion_limit="128"] #![type_length_limit = "268435456"] diff --git a/substrate/substrate/network-libp2p/src/network_state.rs b/substrate/substrate/network-libp2p/src/network_state.rs index c7285590a3..554d39dea7 100644 --- a/substrate/substrate/network-libp2p/src/network_state.rs +++ b/substrate/substrate/network-libp2p/src/network_state.rs @@ -12,7 +12,7 @@ // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Substrate. If not, see .? +// along with Substrate. If not, see . use bytes::Bytes; use fnv::{FnvHashMap, FnvHashSet}; diff --git a/substrate/substrate/network-libp2p/src/service.rs b/substrate/substrate/network-libp2p/src/service.rs index a5841cac29..c77719bf57 100644 --- a/substrate/substrate/network-libp2p/src/service.rs +++ b/substrate/substrate/network-libp2p/src/service.rs @@ -12,7 +12,7 @@ // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Substrate. If not, see .? +// along with Substrate. If not, see . use bytes::Bytes; use {Error, ErrorKind, NetworkConfiguration, NetworkProtocolHandler}; diff --git a/substrate/substrate/network-libp2p/src/timeouts.rs b/substrate/substrate/network-libp2p/src/timeouts.rs index acd4ecc2d8..9b5615b0d5 100644 --- a/substrate/substrate/network-libp2p/src/timeouts.rs +++ b/substrate/substrate/network-libp2p/src/timeouts.rs @@ -12,7 +12,7 @@ // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Substrate. If not, see .? +// along with Substrate. If not, see . use futures::{Async, future, Future, Poll, stream, Stream, sync::mpsc}; use std::io::{Error as IoError, ErrorKind as IoErrorKind}; diff --git a/substrate/substrate/network-libp2p/src/transport.rs b/substrate/substrate/network-libp2p/src/transport.rs index 95c513ea0c..4278fe90dd 100644 --- a/substrate/substrate/network-libp2p/src/transport.rs +++ b/substrate/substrate/network-libp2p/src/transport.rs @@ -12,7 +12,7 @@ // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Substrate. If not, see .? +// along with Substrate. If not, see . use libp2p::{self, Transport, mplex, secio, yamux}; use libp2p::core::{MuxedTransport, either, upgrade}; diff --git a/substrate/substrate/network/src/blocks.rs b/substrate/substrate/network/src/blocks.rs index ffb95bf1f3..9ea1df44ed 100644 --- a/substrate/substrate/network/src/blocks.rs +++ b/substrate/substrate/network/src/blocks.rs @@ -12,7 +12,7 @@ // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see .? +// along with Polkadot. If not, see . use std::mem; use std::cmp; diff --git a/substrate/substrate/network/src/config.rs b/substrate/substrate/network/src/config.rs index 008b662b87..0b94946ab6 100644 --- a/substrate/substrate/network/src/config.rs +++ b/substrate/substrate/network/src/config.rs @@ -12,7 +12,7 @@ // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see .? +// along with Polkadot. If not, see . pub use service::Roles; diff --git a/substrate/substrate/network/src/consensus_gossip.rs b/substrate/substrate/network/src/consensus_gossip.rs index 8a9f5db1f7..0f12f9345e 100644 --- a/substrate/substrate/network/src/consensus_gossip.rs +++ b/substrate/substrate/network/src/consensus_gossip.rs @@ -12,7 +12,7 @@ // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see .? +// along with Polkadot. If not, see . //! Utility for gossip of network messages between authorities. //! Handles chain-specific and standard BFT messages. diff --git a/substrate/substrate/network/src/error.rs b/substrate/substrate/network/src/error.rs index fcf881c68d..c19d70ebaa 100644 --- a/substrate/substrate/network/src/error.rs +++ b/substrate/substrate/network/src/error.rs @@ -12,7 +12,7 @@ // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see .? +// along with Polkadot. If not, see . //! Polkadot service possible errors. diff --git a/substrate/substrate/network/src/import_queue.rs b/substrate/substrate/network/src/import_queue.rs index 9e010c2bee..38fe04de26 100644 --- a/substrate/substrate/network/src/import_queue.rs +++ b/substrate/substrate/network/src/import_queue.rs @@ -12,7 +12,7 @@ // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see .? +// along with Polkadot. If not, see . //! Blocks import queue. diff --git a/substrate/substrate/network/src/io.rs b/substrate/substrate/network/src/io.rs index 2ea5e4ffaf..3afaf3e6a9 100644 --- a/substrate/substrate/network/src/io.rs +++ b/substrate/substrate/network/src/io.rs @@ -12,7 +12,7 @@ // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see .? +// along with Polkadot. If not, see . use network_libp2p::{NetworkContext, Severity, NodeIndex, SessionInfo}; diff --git a/substrate/substrate/network/src/lib.rs b/substrate/substrate/network/src/lib.rs index 2c6b880013..88f2800c65 100644 --- a/substrate/substrate/network/src/lib.rs +++ b/substrate/substrate/network/src/lib.rs @@ -12,7 +12,7 @@ // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see .? +// along with Polkadot. If not, see . #![warn(unused_extern_crates)] #![warn(missing_docs)] diff --git a/substrate/substrate/network/src/on_demand.rs b/substrate/substrate/network/src/on_demand.rs index 8a8e76a3d0..e147caadfc 100644 --- a/substrate/substrate/network/src/on_demand.rs +++ b/substrate/substrate/network/src/on_demand.rs @@ -12,7 +12,7 @@ // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see .? +// along with Polkadot. If not, see . //! On-demand requests service. diff --git a/substrate/substrate/network/src/protocol.rs b/substrate/substrate/network/src/protocol.rs index e8de0f218b..0a409629b7 100644 --- a/substrate/substrate/network/src/protocol.rs +++ b/substrate/substrate/network/src/protocol.rs @@ -12,7 +12,7 @@ // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see .? +// along with Polkadot. If not, see . use std::collections::{HashMap, HashSet}; use std::{mem, cmp}; diff --git a/substrate/substrate/network/src/sync.rs b/substrate/substrate/network/src/sync.rs index 01d9f3f245..b125fe3958 100644 --- a/substrate/substrate/network/src/sync.rs +++ b/substrate/substrate/network/src/sync.rs @@ -12,7 +12,7 @@ // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see .? +// along with Polkadot. If not, see . use std::collections::HashMap; use std::sync::Arc; diff --git a/substrate/substrate/service/src/config.rs b/substrate/substrate/service/src/config.rs index 465d7851c6..be3bcd5d2d 100644 --- a/substrate/substrate/service/src/config.rs +++ b/substrate/substrate/service/src/config.rs @@ -12,7 +12,7 @@ // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Substrate. If not, see .? +// along with Substrate. If not, see . //! Service configuration.