aboutsummaryrefslogtreecommitdiff
path: root/src/rust/tor_util
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-02-15 20:38:08 -0500
committerNick Mathewson <nickm@torproject.org>2018-02-15 20:38:08 -0500
commit28c3f538e50af1b4a10e613856841ea8ca41bc33 (patch)
tree52d7826649324153601c4216f4a1d476cb55c8e7 /src/rust/tor_util
parentbda1dfb9e0a863ae1ec1230c23ed74837be01a35 (diff)
downloadtor-28c3f538e50af1b4a10e613856841ea8ca41bc33.tar.gz
tor-28c3f538e50af1b4a10e613856841ea8ca41bc33.zip
Documentation fixes suggested by catalyst.
Diffstat (limited to 'src/rust/tor_util')
-rw-r--r--src/rust/tor_util/strings.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rust/tor_util/strings.rs b/src/rust/tor_util/strings.rs
index 4e26e7369c..505191d913 100644
--- a/src/rust/tor_util/strings.rs
+++ b/src/rust/tor_util/strings.rs
@@ -83,10 +83,10 @@
/// # Note
///
/// An unfortunate limitation of the rustc compiler (as of 1.25.0-nightly), is
-/// that the above code compiles, however if we were to change the assignment of
-/// `tuesday` as follows, it will fail to compile, because Rust macros are
-/// expanded at parse time, and at parse time there is no symbols table
-/// available.
+/// that the first example above compiles, but if we were to change the
+/// assignment of `tuesday` as follows, it will fail to compile, because Rust
+/// macros are expanded at parse time, and at parse time there is no symbol
+/// table available.
///
/// ```ignore
/// tuesday = cstr!(message);