mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-08-26 14:32:26 +00:00
update comment
This commit is contained in:
parent
f9365791e6
commit
8d064308d6
@ -50,7 +50,7 @@ impl Info {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Take `Self`, convert it into the new `Redirect` member,
|
/// Take `Self`, convert it into the new `Redirect` member,
|
||||||
/// * return new `Self` back
|
/// * return new `Self` that contain referring node
|
||||||
fn into_redirect(self, method: redirect::Method) -> Self {
|
fn into_redirect(self, method: redirect::Method) -> Self {
|
||||||
let mut this = Self::new();
|
let mut this = Self::new();
|
||||||
this.redirect = Some(Box::new(Redirect { info: self, method }));
|
this.redirect = Some(Box::new(Redirect { info: self, method }));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user