From 5420fa3ef5dc279c5665dd4889b4f24903103008 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Przeniczny?= Date: Mon, 30 Nov 2020 11:38:34 +0100 Subject: [PATCH 1/2] Don't display has_many as an attribute. --- diesel/src/associations/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diesel/src/associations/mod.rs b/diesel/src/associations/mod.rs index 24850b4f5265..95005080c603 100644 --- a/diesel/src/associations/mod.rs +++ b/diesel/src/associations/mod.rs @@ -2,7 +2,7 @@ //! //! Associations in Diesel are always child-to-parent. //! You can declare an association between two records with `#[belongs_to]`. -//! Unlike other ORMs, Diesel has no concept of `#[has_many`] +//! Unlike other ORMs, Diesel has no concept of `has_many` //! //! ```rust //! # include!("../doctest_setup.rs"); From e2808f082d10904e999e4e048c8ac115498074b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Przeniczny?= Date: Mon, 30 Nov 2020 11:48:51 +0100 Subject: [PATCH 2/2] Update diesel/src/associations/mod.rs --- diesel/src/associations/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diesel/src/associations/mod.rs b/diesel/src/associations/mod.rs index 95005080c603..c04fe0442592 100644 --- a/diesel/src/associations/mod.rs +++ b/diesel/src/associations/mod.rs @@ -2,7 +2,7 @@ //! //! Associations in Diesel are always child-to-parent. //! You can declare an association between two records with `#[belongs_to]`. -//! Unlike other ORMs, Diesel has no concept of `has_many` +//! Unlike other ORMs, Diesel has no concept of `has many` //! //! ```rust //! # include!("../doctest_setup.rs");