Skip to content

Commit

Permalink
fix: update lastmod rpt
Browse files Browse the repository at this point in the history
  • Loading branch information
encody committed Jul 25, 2023
1 parent 34d90cd commit c174b35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/blog/rust-pro-tips-collection.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Rust Pro Tips (collection)"
date: 2023-04-08
lastmod: 2023-07-22
lastmod: 2023-07-26
description: "Level up your Rust skills."
author: Jacob Lindahl
twitter: sudo_build
Expand All @@ -27,12 +27,12 @@ pub fn my_function(value: u8) {}

The compilation error is `error[E0308]: mismatched types`, which you can check for specifically:

```rust
````rust
/// ```compile_fail,E0308
/// my_function("hello");
/// ```
pub fn my_function(value: u8) {}
```
````

[Docs](https://doc.rust-lang.org/rustdoc/write-documentation/documentation-tests.html#attributes)

Expand Down

0 comments on commit c174b35

Please sign in to comment.