We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f964d3 commit 6e90f0eCopy full SHA for 6e90f0e
src/cargo/util/toml/embedded.rs
@@ -15,14 +15,7 @@ pub fn expand_manifest(
15
path: &std::path::Path,
16
config: &Config,
17
) -> CargoResult<String> {
18
- let comment = match extract_comment(content) {
19
- Ok(comment) => comment,
20
- Err(err) => {
21
- tracing::trace!("failed to extract doc comment: {err}");
22
- None
23
- }
24
25
- .unwrap_or_default();
+ let comment = extract_comment(content)?.unwrap_or_default();
26
let manifest = match extract_manifest(&comment)? {
27
Some(manifest) => Some(manifest),
28
None => {
0 commit comments