More doc comments, better TemplateMacro debug formatting #53
Annotations
4 errors and 15 warnings
this expression creates a reference which is immediately dereferenced by the compiler:
src/lazy/expanded/template.rs#L558
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/lazy/expanded/template.rs:558:77
|
558 | expr_index += 1 + Self::fmt_expr(f, indentation, host_template, &value)?;
| ^^^^^^ help: change this to: `value`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
|
called `.as_ref().map(String::as_str)` on an Option value. This can be done more directly by calling `self.name.as_deref()` instead:
src/lazy/expanded/template.rs#L107
error: called `.as_ref().map(String::as_str)` on an Option value. This can be done more directly by calling `self.name.as_deref()` instead
--> src/lazy/expanded/template.rs:107:9
|
107 | / self.name
108 | | .as_ref()
109 | | .map(String::as_str)
| |________________________________^ help: try using as_deref instead: `self.name.as_deref()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref
= note: `-D clippy::option-as-ref-deref` implied by `-D warnings`
|
this expression creates a reference which is immediately dereferenced by the compiler:
src/lazy/expanded/template.rs#L558
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/lazy/expanded/template.rs:558:77
|
558 | expr_index += 1 + Self::fmt_expr(f, indentation, host_template, &value)?;
| ^^^^^^ help: change this to: `value`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
|
called `.as_ref().map(String::as_str)` on an Option value. This can be done more directly by calling `self.name.as_deref()` instead:
src/lazy/expanded/template.rs#L107
error: called `.as_ref().map(String::as_str)` on an Option value. This can be done more directly by calling `self.name.as_deref()` instead
--> src/lazy/expanded/template.rs:107:9
|
107 | / self.name
108 | | .as_ref()
109 | | .map(String::as_str)
| |________________________________^ help: try using as_deref instead: `self.name.as_deref()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref
= note: `-D clippy::option-as-ref-deref` implied by `-D warnings`
|
Test with Miri (ubuntu-latest, experimental)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test with Miri (ubuntu-latest, experimental)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test with Miri (ubuntu-latest, experimental)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test with Miri (ubuntu-latest, experimental)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test with Miri (ubuntu-latest, experimental)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test with Miri (windows-latest, experimental)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test with Miri (windows-latest, experimental)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test with Miri (windows-latest, experimental)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test with Miri (windows-latest, experimental)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test with Miri (windows-latest, experimental)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test with Miri (macos-latest, experimental)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test with Miri (macos-latest, experimental)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test with Miri (macos-latest, experimental)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test with Miri (macos-latest, experimental)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test with Miri (macos-latest, experimental)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|