Skip to content

Commit 50a2ab9

Browse files
committed
Improve comments
1 parent e10862f commit 50a2ab9

File tree

31 files changed

+64
-20
lines changed

31 files changed

+64
-20
lines changed

datafusion/catalog-listing/src/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@
1313
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1414
// KIND, either express or implied. See the License for the
1515
// specific language governing permissions and limitations
16-
// under the License.
16+
// under the License.xz
1717

1818
#![doc(
1919
html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",
2020
html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"
2121
)]
2222
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
23+
// Make sure fast / cheap clones on Arc are explicit:
24+
// https://github.com/apache/datafusion/issues/11143
2325
#![cfg_attr(not(test), deny(clippy::clone_on_ref_ptr))]
2426

2527
pub mod helpers;

datafusion/catalog/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"
2121
)]
2222
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
23+
// Make sure fast / cheap clones on Arc are explicit:
24+
// https://github.com/apache/datafusion/issues/11143
2325
#![cfg_attr(not(test), deny(clippy::clone_on_ref_ptr))]
2426

2527
//! Interfaces and default implementations of catalogs and schemas.

datafusion/common-runtime/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"
2121
)]
2222
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
23-
// Make cheap clones clear: https://github.com/apache/datafusion/issues/11143
23+
// Make sure fast / cheap clones on Arc are explicit:
24+
// https://github.com/apache/datafusion/issues/11143
2425
#![deny(clippy::clone_on_ref_ptr)]
2526

2627
pub mod common;

datafusion/common/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"
2121
)]
2222
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
23-
// Make cheap clones clear: https://github.com/apache/datafusion/issues/11143
23+
// Make sure fast / cheap clones on Arc are explicit:
24+
// https://github.com/apache/datafusion/issues/11143
2425
#![deny(clippy::clone_on_ref_ptr)]
2526

2627
mod column;

datafusion/core/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"
2121
)]
2222
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
23-
// Make cheap clones clear: https://github.com/apache/datafusion/issues/11143
23+
// Make sure fast / cheap clones on Arc are explicit:
24+
// https://github.com/apache/datafusion/issues/11143
2425
#![cfg_attr(not(test), deny(clippy::clone_on_ref_ptr))]
2526
#![warn(missing_docs, clippy::needless_borrow)]
2627

datafusion/datasource-avro/src/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"
2121
)]
2222
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
23+
// Make sure fast / cheap clones on Arc are explicit:
24+
// https://github.com/apache/datafusion/issues/11143
2325
#![cfg_attr(not(test), deny(clippy::clone_on_ref_ptr))]
2426

2527
//! An [Avro](https://avro.apache.org/) based [`FileSource`](datafusion_datasource::file::FileSource) implementation and related functionality.

datafusion/datasource-csv/src/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18+
// Make sure fast / cheap clones on Arc are explicit:
19+
// https://github.com/apache/datafusion/issues/11143
1820
#![cfg_attr(not(test), deny(clippy::clone_on_ref_ptr))]
1921

2022
pub mod file_format;

datafusion/datasource-json/src/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
// KIND, either express or implied. See the License for the
1515
// specific language governing permissions and limitations
1616
// under the License.
17+
18+
// Make sure fast / cheap clones on Arc are explicit:
19+
// https://github.com/apache/datafusion/issues/11143
1720
#![cfg_attr(not(test), deny(clippy::clone_on_ref_ptr))]
1821

1922
pub mod file_format;

datafusion/datasource-parquet/src/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18+
// Make sure fast / cheap clones on Arc are explicit:
19+
// https://github.com/apache/datafusion/issues/11143
1820
#![cfg_attr(not(test), deny(clippy::clone_on_ref_ptr))]
1921

2022
//! [`ParquetExec`] FileSource for reading Parquet files

datafusion/datasource/src/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"
2121
)]
2222
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
23+
// Make sure fast / cheap clones on Arc are explicit:
24+
// https://github.com/apache/datafusion/issues/11143
2325
#![cfg_attr(not(test), deny(clippy::clone_on_ref_ptr))]
2426

2527
//! A table that uses the `ObjectStore` listing capability

0 commit comments

Comments
 (0)