From 9ba10eb085f63254bd0c3e885ba87c85870f61bc Mon Sep 17 00:00:00 2001 From: Prashanth-Chandra Date: Thu, 29 Jun 2023 15:56:09 +0530 Subject: [PATCH] docs: Update license related comments (#2572) --- core/src/raw/http_util/body.rs | 2 +- core/src/services/memcached/backend.rs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/core/src/raw/http_util/body.rs b/core/src/raw/http_util/body.rs index bcbde6db8660..7583f443744d 100644 --- a/core/src/raw/http_util/body.rs +++ b/core/src/raw/http_util/body.rs @@ -91,7 +91,7 @@ impl IncomingAsyncBody { /// Consume the response to bytes. /// - /// Borrowed from hyper's [`to_bytes`](https://docs.rs/hyper/latest/hyper/body/fn.to_bytes.html). + /// This code is Inspired from hyper's [`to_bytes`](https://docs.rs/hyper/latest/hyper/body/fn.to_bytes.html). pub async fn bytes(mut self) -> Result { use oio::ReadExt; diff --git a/core/src/services/memcached/backend.rs b/core/src/services/memcached/backend.rs index b89e32afdd92..23fad5b50fdf 100644 --- a/core/src/services/memcached/backend.rs +++ b/core/src/services/memcached/backend.rs @@ -271,8 +271,6 @@ impl kv::Adapter for Adapter { } /// A `bb8::ManageConnection` for `memcache_async::ascii::Protocol`. -/// -/// Most code is borrowed from [bb8-memcached](https://github.com/dqminh/bb8-memcached/blob/master/src/client.rs). #[derive(Clone, Debug)] struct MemcacheConnectionManager { address: String,