-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(doc): add syntax highlighting to rust doctests #988
Conversation
2560fe0
to
1271885
Compare
9f6f57c
to
7cf5180
Compare
/// use tfhe::prelude::*; | ||
/// use tfhe::{generate_keys, set_server_key, ConfigBuilder, FheUint16}; | ||
/// | ||
/// let (client_key, server_key) = generate_keys(ConfigBuilder::default()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
space issue
/// ``` | ||
rust_trait: Add(add), | ||
implem: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alignment mismatch
/// ``` | ||
rust_trait: Sub(sub), | ||
implem: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alignment issue
/// ``` | ||
rust_trait: Mul(mul), | ||
implem: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
re
/// ``` | ||
rust_trait: BitAnd(bitand), | ||
implem: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
re
/// ``` | ||
rust_trait: BitOr(bitor), | ||
implem: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
re
/// ``` | ||
rust_trait: BitXor(bitxor), | ||
implem: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
re
/// ``` | ||
rust_trait: Div(div), | ||
implem: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
re
/// ``` | ||
rust_trait: Rem(rem), | ||
implem: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
re
7cf5180
to
d79d21c
Compare
No description provided.