aboutsummaryrefslogtreecommitdiffstats
path: root/src/format.rs
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2019-08-03 20:27:44 -0700
committerDavid Tolnay <dtolnay@gmail.com>2019-08-03 20:27:44 -0700
commit1fcea59c2cc1faf412d3f24b2b067312a789cb82 (patch)
treeb211f286fd6d0d9e8ee12232fa811f1c983b0baf /src/format.rs
parent241e9c5c99845e99be0123d31262643a221c62ed (diff)
downloadplatform_external_rust_crates_quote-1fcea59c2cc1faf412d3f24b2b067312a789cb82.tar.gz
platform_external_rust_crates_quote-1fcea59c2cc1faf412d3f24b2b067312a789cb82.tar.bz2
platform_external_rust_crates_quote-1fcea59c2cc1faf412d3f24b2b067312a789cb82.zip
Remove ```edition2018 now that whole crate is on 2018
Diffstat (limited to 'src/format.rs')
-rw-r--r--src/format.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/format.rs b/src/format.rs
index 04b4e0d..130484e 100644
--- a/src/format.rs
+++ b/src/format.rs
@@ -33,7 +33,7 @@
/// final identifier, falling back to [`Span::call_site`] when no identifiers
/// are provided.
///
-/// ```edition2018
+/// ```
/// # use quote::format_ident;
/// # let ident = format_ident!("Ident");
/// // If `ident` is an Ident, the span of `my_ident` will be inherited from it.
@@ -44,7 +44,7 @@
/// Alternatively, the span can be overridden by passing the `span` named
/// argument.
///
-/// ```edition2018
+/// ```
/// # use quote::format_ident;
/// # const IGNORE_TOKENS: &'static str = stringify! {
/// let my_span = /* ... */;
@@ -64,7 +64,7 @@
/// # Examples
///
/// Composing raw and non-raw identifiers:
-/// ```edition2018
+/// ```
/// # use quote::format_ident;
/// let my_ident = format_ident!("My{}", "Ident");
/// assert_eq!(my_ident, "MyIdent");
@@ -77,7 +77,7 @@
/// ```
///
/// Integer formatting options:
-/// ```edition2018
+/// ```
/// # use quote::format_ident;
/// let num: u32 = 10;
///