aboutsummaryrefslogtreecommitdiff
path: root/src/expr/bitwise.rs
diff options
context:
space:
mode:
authorlafleur <lafleur@boum.org>2021-11-28 16:42:27 +0100
committerlafleur <lafleur@boum.org>2021-11-28 16:42:27 +0100
commit100e365bc653089d54319355a8dea99b28a77a15 (patch)
tree552b5c9dfc79e1030be31fff514f67211839c31c /src/expr/bitwise.rs
parent8a41f1de700b573afb5051abaac22f1094ae21ad (diff)
docstrings update + typography
Diffstat (limited to 'src/expr/bitwise.rs')
-rw-r--r--src/expr/bitwise.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr/bitwise.rs b/src/expr/bitwise.rs
index 59ef41b..d34d22c 100644
--- a/src/expr/bitwise.rs
+++ b/src/expr/bitwise.rs
@@ -10,8 +10,8 @@ pub struct Bitwise<M: ToSlice, X: ToSlice> {
}
impl<M: ToSlice, X: ToSlice> Bitwise<M, X> {
- /// Returns a new `Bitwise` instance that first masks the value it's applied to with `mask`
- /// and then performs xor with the value in `xor`.
+ /// Returns a new `Bitwise` instance that first masks the value it's applied to with `mask` and
+ /// then performs xor with the value in `xor`.
pub fn new(mask: M, xor: X) -> Self {
Self { mask, xor }
}