Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(toml)!: Prevent people parsing manifests from strings
  • Loading branch information
epage committed Jun 17, 2023
commit fc0bb8bf0088af3b1b2b1e9bc5c9939b64c4d576
2 changes: 1 addition & 1 deletion src/cargo/util/toml/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pub fn read_manifest(
/// within the manifest. For virtual manifests, these paths can only
/// come from patched or replaced dependencies. These paths are not
/// canonicalized.
pub fn read_manifest_from_str(
fn read_manifest_from_str(
contents: &str,
manifest_file: &Path,
source_id: SourceId,
Expand Down