Skip to content

Commit

Permalink
Merge pull request #1272 from Smittyvb/patch-3
Browse files Browse the repository at this point in the history
Use semver-compliant example version
  • Loading branch information
ehuss committed Sep 24, 2022
2 parents a7cdac3 + 328e227 commit 578fd2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attributes/diagnostics.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ Tuple struct fields are ignored.
Here is an example:

```rust
#[deprecated(since = "5.2", note = "foo was rarely used. Users should instead use bar")]
#[deprecated(since = "5.2.0", note = "foo was rarely used. Users should instead use bar")]
pub fn foo() {}

pub fn bar() {}
Expand Down

0 comments on commit 578fd2e

Please sign in to comment.