Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
gbj committed Jul 24, 2024
1 parent ca0c2a6 commit 2abb56a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion meta/src/body.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ where
_buf: &mut String,
_position: &mut Position,
_escape: bool,
mark_branches: bool,
_mark_branches: bool,
) {
if let Some(meta) = use_context::<ServerMetaContext>() {
let mut buf = String::new();
Expand Down
2 changes: 1 addition & 1 deletion meta/src/html.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ where
_buf: &mut String,
_position: &mut Position,
_escape: bool,
mark_branches: bool,
_mark_branches: bool,
) {
if let Some(meta) = use_context::<ServerMetaContext>() {
let mut buf = String::new();
Expand Down
4 changes: 2 additions & 2 deletions meta/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ where
_buf: &mut String,
_position: &mut Position,
_escape: bool,
mark_branches: bool,
_mark_branches: bool,
) {
// meta tags are rendered into the buffer stored into the context
// the value has already been taken out, when we're on the server
Expand Down Expand Up @@ -549,7 +549,7 @@ impl RenderHtml<Dom> for MetaTagsView {
buf: &mut String,
_position: &mut Position,
_escape: bool,
mark_branches: bool,
_mark_branches: bool,
) {
buf.push_str("<!--HEAD-->");
}
Expand Down
2 changes: 1 addition & 1 deletion meta/src/title.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ impl RenderHtml<Dom> for TitleView {
_buf: &mut String,
_position: &mut Position,
_escape: bool,
mark_branches: bool,
_mark_branches: bool,
) {
// meta tags are rendered into the buffer stored into the context
// the value has already been taken out, when we're on the server
Expand Down
6 changes: 4 additions & 2 deletions tachys/src/view/any_view.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#[cfg(feature = "ssr")]
use super::MarkBranch;
use super::{
add_attr::AddAnyAttr, MarkBranch, Mountable, Position, PositionState,
Render, RenderHtml,
add_attr::AddAnyAttr, Mountable, Position, PositionState, Render,
RenderHtml,
};
use crate::{
html::attribute::Attribute, hydration::Cursor, renderer::Renderer,
Expand Down

0 comments on commit 2abb56a

Please sign in to comment.