Skip to content

Commit

Permalink
Fix typo: satic -> static
Browse files Browse the repository at this point in the history
  • Loading branch information
aDotInTheVoid committed Jul 10, 2021
1 parent a84d1b2 commit 293fa8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_mir/src/transform/inline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ impl Inliner<'tcx> {
&self,
callsite: &CallSite<'tcx>,
callee_attrs: &CodegenFnAttrs,
) -> Result<(), &'satic str> {
) -> Result<(), &'static str> {
if let InlineAttr::Never = callee_attrs.inline {
return Err("never inline hint");
}
Expand Down

0 comments on commit 293fa8f

Please sign in to comment.