From 2352fc2384349c37497ffca1ef524ee0a9ea91ec Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Champin Date: Mon, 6 Apr 2020 09:17:57 +0200 Subject: [PATCH] complete documentation --- lib/src/model/literal.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/src/model/literal.rs b/lib/src/model/literal.rs index 78812014..8870e30c 100644 --- a/lib/src/model/literal.rs +++ b/lib/src/model/literal.rs @@ -76,7 +76,8 @@ impl Literal { /// Builds a RDF [language-tagged string](https://www.w3.org/TR/rdf11-concepts/#dfn-language-tagged-string) /// /// It is the responability of the caller to check that `language` - /// is valid [BCP47](https://tools.ietf.org/html/bcp47) language tag. + /// is valid [BCP47](https://tools.ietf.org/html/bcp47) language tag, + /// and is lowercase. /// /// If in doubt, you should rather use /// [`new_language_tagged_literal`](#method.new_language_tagged_literal).