Bump version to 1.0.

This commit is contained in:
Stephen Chung
2021-06-24 11:50:03 +08:00
parent 178fe6b978
commit 83297ffa00
4 changed files with 12 additions and 3 deletions

View File

@@ -1314,7 +1314,8 @@ impl Engine {
Self::read_file(path).and_then(|contents| Ok(self.compile_with_scope(scope, &contents)?))
}
/// Parse a JSON string into an [object map][`Map`].
/// This is a light-weight alternative to using, say, [`serde_json`] to deserialize the JSON.
/// This is a light-weight alternative to using, say,
/// [`serde_json`](https://crates.io/crates/serde_json) to deserialize the JSON.
///
/// Not available under `no_object`.
///

View File

@@ -290,7 +290,7 @@ impl Module {
/// ```
#[inline(always)]
#[must_use]
pub fn id_raw(&self) -> Option<&Identifier> {
pub(crate) fn id_raw(&self) -> Option<&Identifier> {
self.id.as_ref()
}