Skip to content

Commit bff5cee

Browse files
committed
fix(toml)!: Prevent people parsing manifests from strings
1 parent fdc2904 commit bff5cee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/util/toml/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ pub fn read_manifest(
7070
/// within the manifest. For virtual manifests, these paths can only
7171
/// come from patched or replaced dependencies. These paths are not
7272
/// canonicalized.
73-
pub fn read_manifest_from_str(
73+
fn read_manifest_from_str(
7474
contents: &str,
7575
manifest_file: &Path,
7676
source_id: SourceId,

0 commit comments

Comments
 (0)