summaryrefslogtreecommitdiffstats
path: root/vendor/syn/src/file.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:20:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:20:39 +0000
commit1376c5a617be5c25655d0d7cb63e3beaa5a6e026 (patch)
tree3bb8d61aee02bc7a15eab3f36e3b921afc2075d0 /vendor/syn/src/file.rs
parentReleasing progress-linux version 1.69.0+dfsg1-1~progress7.99u1. (diff)
downloadrustc-1376c5a617be5c25655d0d7cb63e3beaa5a6e026.tar.xz
rustc-1376c5a617be5c25655d0d7cb63e3beaa5a6e026.zip
Merging upstream version 1.70.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/syn/src/file.rs')
-rw-r--r--vendor/syn/src/file.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/syn/src/file.rs b/vendor/syn/src/file.rs
index 280484f98..2d9f298cc 100644
--- a/vendor/syn/src/file.rs
+++ b/vendor/syn/src/file.rs
@@ -3,7 +3,7 @@ use super::*;
ast_struct! {
/// A complete file of Rust source code.
///
- /// *This type is available only if Syn is built with the `"full"` feature.*
+ /// Typically `File` objects are created with [`parse_file`].
///
/// # Example
///
@@ -86,7 +86,7 @@ ast_struct! {
}
#[cfg(feature = "parsing")]
-pub mod parsing {
+pub(crate) mod parsing {
use super::*;
use crate::parse::{Parse, ParseStream, Result};