fixed some reference errors

This commit is contained in:
Yehowshua Immanuel 2022-08-19 21:13:29 -04:00
parent 15a2564f13
commit e2c02316af
4 changed files with 26 additions and 91 deletions

View file

@ -61,10 +61,10 @@ pub struct VCD {
impl VCD {
/// We take in a Signal and attempt to dereference that signal if it is of
/// variant Signal::Alias. If it is of variant Signal::Alias and points to
/// another alias, that's an error. Otherwise, we return the Signal::Data
/// pointed to by the Signal::Alias.
/// If the Signal is of varint Signal::Data, then that can be returned directly.
/// variant ``Signal::Alias``. If it is of variant ``Signal::Alias`` and points to
/// another alias, that's an error. Otherwise, we return the ``Signal::Data``
/// pointed to by the ``Signal::Alias``.
/// If the Signal is of varint ``Signal::Data``, then that can be returned directly.
pub(super) fn try_dereference_alias_mut<'a>(
&'a mut self,
idx: &SignalIdx,