Skip to content

Commit

Permalink
refactor raw()
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarshkukreti committed Sep 11, 2021
1 parent 0006faf commit d16871e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions markup/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ impl<T: std::fmt::Display> Render for Raw<T> {
}

#[inline]
pub fn raw<T: std::fmt::Display>(t: T) -> impl Render {
Raw(t)
pub fn raw(value: impl std::fmt::Display) -> impl Render {
Raw(value)
}

macro_rules! tfor {
Expand Down

0 comments on commit d16871e

Please sign in to comment.