Skip to content

Commit

Permalink
Update some code snippets in the comments so that they are not run as…
Browse files Browse the repository at this point in the history
… tests
  • Loading branch information
sonmarcho committed Nov 10, 2023
1 parent b510d23 commit 024d863
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charon/src/reorder_decls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ pub struct Deps {
///
///
/// For instance, the problem happens if in Rust we have:
/// ```
/// ```text
/// pub trait WithConstTy {
/// type W;
/// fn f(x: &mut Self::W);
Expand All @@ -208,7 +208,7 @@ pub struct Deps {
///
/// In LLBC we get:
///
/// ```
/// ```text
/// impl traits::Bool::0 : traits::WithConstTy<bool>
/// {
/// type W = u64 with []
Expand Down
2 changes: 1 addition & 1 deletion charon/src/translate_ctx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ pub(crate) struct BodyTransCtx<'tcx, 'ctx, 'ctx1> {
/// the variables inside the group.
///
/// For instance, we have the following:
/// ```
/// ```text
/// we compute the De Bruijn indices from here
/// VVVVVVVVVVVVVVVVVVVVVVV
/// fn f<'a, 'b>(x: for<'c> fn(&'a u8, &'b u16, &'c u32) -> u64) {}
Expand Down

0 comments on commit 024d863

Please sign in to comment.