Skip to content

Commit

Permalink
format_code_in_doc_comments = true
Browse files Browse the repository at this point in the history
Reviewed By: zertosh

Differential Revision: D52647696

fbshipit-source-id: 84e5f51b04ccdd73234a4b4fbffaa7ed7ebf4cc9
  • Loading branch information
stepancheg authored and facebook-github-bot committed Jan 10, 2024
1 parent 2f97f25 commit 085d091
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions compiler/crates/intern/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
//!
//! Simply import `intern::string` and go to town:
//! ```
//! use intern::string::StringId;
//! use intern::string;
//! use intern::string::StringId;
//!
//! let a: StringId = string::intern("a");
//! let b = string::intern("b");
Expand Down Expand Up @@ -88,7 +88,8 @@
//! assert_eq!(i1, i2);
//! assert_eq!(i1.get().v, 1);
//! assert!(i1 != i3);
//! assert_eq!(i3.v, -57); // Uses Deref
//! // Uses Deref
//! assert_eq!(i3.v, -57);
//! # }
//! ```
//!
Expand Down

0 comments on commit 085d091

Please sign in to comment.